/* SarkariMahiti — clean blog-style layout */
:root {
  --saffron: #ff9933;
  --white: #ffffff;
  --green: #138808;
  --navy: #000080;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --border: #e8e8e8;
  --bg: #ffffff;
  --bg-soft: #f9f9f9;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 28px rgba(0, 0, 0, 0.1);
  --radius: 10px;
  --max-width: 1280px;
  --site-ad-col: 300px;
  --site-gap: 20px;
  --header-h: 64px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--saffron);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--saffron) 33%, var(--white) 33%, var(--white) 66%, var(--green) 66%) 1;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo-flag {
  width: 28px;
  height: 18px;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.logo-flag span {
  flex: 1;
}

.logo-flag .f-saffron { background: var(--saffron); }
.logo-flag .f-white { background: var(--white); position: relative; }
.logo-flag .f-green { background: var(--green); }

.logo-text {
  background: linear-gradient(90deg, var(--saffron) 0%, var(--navy) 50%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--bg-soft);
  color: var(--navy);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-soft);
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-btn:hover {
  border-color: var(--saffron);
  box-shadow: var(--shadow);
}

.search-btn svg {
  width: 16px;
  height: 16px;
}

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.search-overlay.open {
  opacity: 1;
  visibility: visible;
}

.search-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  width: min(92%, 560px);
  padding: 1.25rem;
  transform: translateY(-12px);
  transition: transform 0.25s;
}

.search-overlay.open .search-panel {
  transform: translateY(0);
}

.search-panel form {
  display: flex;
  gap: 0.5rem;
}

.search-panel input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
}

.search-panel input:focus {
  border-color: var(--navy);
}

.search-panel button {
  padding: 0.75rem 1.25rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.search-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

/* ── Main layout ── */
main {
  flex: 1;
  padding: 2rem 0 3rem;
}

.page-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 0.5rem;
  color: var(--text);
}

.page-subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.layout-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}

.content-area {
  min-width: 0;
}

/* ── Homepage hero ── */
.hero {
  text-align: center;
  padding: 2.5rem 1rem 2rem;
}

.home-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-ads {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 2rem;
}

.home-ads .ad-slot {
  margin-bottom: 0;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.hero p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

.category-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.category-buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.category-buttons-grid .category-card {
  width: 100%;
  min-height: 170px;
  padding: 1.5rem 1rem;
}

.category-buttons-grid .category-card h2 {
  font-size: 1.25rem;
}

.category-buttons-grid .category-card .icon {
  font-size: 2.5rem;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 280px);
  min-height: 200px;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s, border-color 0.35s;
  animation: floatIn 0.7s ease backwards;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.25s; }
.category-card:nth-child(3) { animation-delay: 0.4s; }

.category-card.rss::before {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(19, 136, 8, 0.06));
}

.category-card.rss .icon { animation-delay: 0.55s; }

.category-card.rss .cta {
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
}

.rss-results-block {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 2px dashed var(--border);
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s;
}

.category-card.job::before {
  background: linear-gradient(135deg, rgba(255, 153, 51, 0.08), rgba(0, 0, 128, 0.06));
}

.category-card.yojana::before {
  background: linear-gradient(135deg, rgba(19, 136, 8, 0.08), rgba(255, 153, 51, 0.06));
}

.category-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.category-card:hover::before {
  opacity: 1;
}

.category-card .icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
  animation: pulse 2.5s ease-in-out infinite;
}

.category-card.job .icon { animation-delay: 0s; }
.category-card.yojana .icon { animation-delay: 0.4s; }

.category-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
  position: relative;
  z-index: 1;
}

.category-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

.category-card .cta {
  margin-top: 1rem;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.category-card.job .cta {
  background: var(--saffron);
  color: var(--white);
}

.category-card.yojana .cta {
  background: var(--green);
  color: var(--white);
}

.category-card.results::before { background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(255, 153, 51, 0.06)); }
.category-card.exam::before { background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(59, 130, 246, 0.06)); }
.category-card.syllabus::before { background: linear-gradient(135deg, rgba(19, 136, 8, 0.1), rgba(59, 130, 246, 0.06)); }
.category-card.answer-keys::before { background: linear-gradient(135deg, rgba(234, 179, 8, 0.12), rgba(255, 153, 51, 0.06)); }
.category-card.admit-card::before { background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(168, 85, 247, 0.06)); }
.category-card.scholarship::before { background: linear-gradient(135deg, rgba(19, 136, 8, 0.12), rgba(234, 179, 8, 0.08)); }
.category-card.career::before { background: linear-gradient(135deg, rgba(0, 0, 128, 0.1), rgba(59, 130, 246, 0.06)); }

.category-card.results .cta { background: #2563eb; color: #fff; }
.category-card.exam .cta { background: #7c3aed; color: #fff; }
.category-card.syllabus .cta { background: #15803d; color: #fff; }
.category-card.answer-keys .cta { background: #ca8a04; color: #fff; }
.category-card.admit-card .cta { background: #db2777; color: #fff; }
.category-card.scholarship .cta { background: #16a34a; color: #fff; }
.category-card.career .cta { background: #1e3a8a; color: #fff; }

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* ── Ad slots (min sizes match ADSCODE.txt) ── */
.ad-slot {
  background: var(--bg-soft);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 0.35rem;
  margin-bottom: 1.5rem;
  text-align: center;
  min-width: 120px;
  min-height: 50px;
  display: block;
  width: 100%;
  overflow: visible;
  transition: min-height 0.25s ease, background 0.2s ease;
}

.ad-slot-active {
  border-style: solid;
  border-color: #eee;
  background: #fff;
}

.ad-slot[data-ad-slot="ad-top"],
.ad-slot[data-ad-slot="ad-top-2"],
.ad-slot[data-ad-slot="ad-top-3"] {
  min-width: 200px;
  min-height: 50px;
}

.ad-slot[data-ad-slot="ad-inline-1"],
.ad-slot[data-ad-slot="ad-inline-2"],
.ad-slot[data-ad-slot="ad-list-mid"],
.ad-slot[data-ad-slot^="ad-list-"],
.ad-slot[data-ad-slot="ad-reward-popup"] {
  min-width: 120px;
  min-height: 20px;
}

.ad-slot[data-ad-slot="ad-rail-left"],
.ad-slot[data-ad-slot="ad-rail-right"],
.ad-slot[data-ad-slot="ad-sidebar"],
.ad-slot[data-ad-slot="ad-footer"] {
  min-width: 120px;
  min-height: 50px;
}

.ad-slot iframe,
.ad-slot > div > iframe {
  max-width: 100%;
  margin: 0 auto;
  display: block;
}

.job-flow-ad.ad-slot,
.ad-banner-top .ad-slot {
  min-height: 50px;
}

.ad-slot > div {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

.ad-slot-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.ad-banner-top {
  margin: 0 auto 1.5rem;
  max-width: var(--max-width);
  width: calc(100% - 2rem);
}

.ad-banner-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar .ad-slot {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

/* ── Blog cards ── */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.post-card {
  display: block;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: box-shadow 0.25s, border-color 0.25s;
}

.post-card:hover {
  box-shadow: var(--shadow);
  border-color: #ddd;
}

.post-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.post-card .meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.post-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-job {
  background: rgba(255, 153, 51, 0.15);
  color: #c45a00;
}

.badge-yojana {
  background: rgba(19, 136, 8, 0.12);
  color: var(--green);
}

/* ── Static pages ── */
.static-page {
  max-width: 760px;
}

.static-page h1 {
  margin-bottom: 1rem;
}

.static-page h2 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.2rem;
}

.static-page p,
.static-page li {
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.static-page ul {
  padding-left: 1.25rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-primary {
  align-self: flex-start;
  padding: 0.7rem 1.5rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #000060;
}

/* ── Footer ── */
.site-footer {
  background: var(--bg-soft);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--saffron) 33%, var(--white) 33%, var(--white) 66%, var(--green) 66%) 1;
  padding: 2rem 0 1.25rem;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-disclaimer {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 1.35rem;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid #fde68a;
  border-left: 4px solid var(--saffron);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.footer-disclaimer-page {
  text-align: left;
  max-width: 100%;
}

.footer-disclaimer-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 0.55rem;
  color: var(--navy);
}

.footer-disclaimer p {
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 0.45rem;
}

.footer-disclaimer p:last-child {
  margin-bottom: 0;
}

.footer-disclaimer-en {
  font-size: 0.78rem !important;
  opacity: 0.92;
  margin-top: 0.35rem !important;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.45rem;
  width: 100%;
  margin-bottom: 1.15rem;
  padding: 0 0.5rem;
  text-align: center;
}

.footer-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  color: var(--navy);
}

.footer-nav-sep {
  color: #cbd5e1;
  font-size: 0.8rem;
  user-select: none;
}

.footer-bottom {
  width: 100%;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-copy,
.footer-made {
  flex-shrink: 0;
}

/* Legacy footer grid (unused) */
.footer-grid {
  display: none;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  max-width: 320px;
}

.footer-links h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── Search results ── */
.search-results {
  margin-top: 1rem;
}

.search-results .post-card {
  margin-bottom: 0.75rem;
}

.no-results {
  color: var(--text-muted);
  padding: 1rem 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .layout-with-sidebar {
    grid-template-columns: 1fr;
  }

  .sidebar .ad-slot {
    position: static;
  }
}

@media (max-width: 640px) {
  .header-inner {
    gap: 0.4rem;
  }

  .logo {
    order: 1;
    flex: 1;
    min-width: 0;
  }

  .main-nav {
    order: 10;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
    z-index: 1001;
  }

  .header-actions {
    order: 2;
    flex-shrink: 0;
  }

  .nav-toggle {
    order: 3;
    flex-shrink: 0;
    display: block;
  }

  .main-nav.open {
    max-height: 320px;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 0.5rem;
    align-items: stretch;
  }

  .main-nav a {
    padding: 0.75rem 1rem;
  }

  .search-btn span {
    display: none;
  }

  .search-btn {
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    justify-content: center;
  }

  .search-overlay {
    padding-top: 0;
    align-items: stretch;
  }

  .search-panel {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    border-radius: 0;
    padding: 1rem 1rem 2rem;
    transform: translateY(0);
  }

  .search-panel form {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }

  .search-panel input {
    flex: 1;
    font-size: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 2px solid var(--border);
  }

  .search-panel button[type="submit"] {
    padding: 0.85rem 1.1rem;
    font-size: 0.95rem;
    border-radius: 12px;
    white-space: nowrap;
  }

  .search-close {
    font-size: 1.75rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .footer-nav {
    gap: 0.2rem 0.35rem;
  }

  .footer-nav a {
    font-size: 0.76rem;
  }

  .footer-nav-sep {
    font-size: 0.72rem;
  }

  .footer-disclaimer {
    padding: 0.85rem 0.75rem;
  }

  .footer-disclaimer p {
    font-size: 0.78rem;
  }

  .category-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ── Job step flow — centered animated steps + side ads ── */
.job-layout-wrap {
  padding: 0 0 2rem;
}

.job-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--site-ad-col)) minmax(0, 1fr) minmax(0, var(--site-ad-col));
  gap: var(--site-gap);
  align-items: start;
  justify-content: center;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  overflow: hidden;
}

@media (max-width: 1023px) {
  .job-layout {
    display: block;
    max-width: 100%;
  }

  .job-flow-page,
  .job-flow-page.job-flow-states {
    max-width: 100%;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .job-pill-list,
  .job-pill-list-states {
    width: 100%;
  }

  .job-pill-state,
  .job-state-card,
  .job-pill-btn {
    width: 100%;
    box-sizing: border-box;
  }
}

.job-ad-rail {
  display: none;
  align-self: start;
  min-width: 0;
}

.job-ad-rail .ad-slot {
  min-width: 0;
  min-height: 250px;
  width: 100%;
  max-width: var(--site-ad-col);
  margin-bottom: 0;
  padding: 0.25rem;
  overflow: hidden;
  box-sizing: border-box;
}

.job-ad-rail .ad-slot > div,
.job-ad-rail .ad-slot iframe {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.job-ad-rail-multi .job-ad-rail-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.job-ad-rail-multi .ad-rail-slot-2,
.job-ad-rail-multi .ad-rail-slot-3 {
  display: none !important;
}

.job-ad-rail-multi .ad-rail-slot,
.job-ad-rail-multi .ad-rail-slot-1 {
  width: 100%;
  max-width: var(--site-ad-col);
  margin: 0;
}

.job-ad-rail-multi .ad-rail-slot-hidden {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

.job-flow-page {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

/* Centered animated stepper */
.job-steps-animated {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0 auto 1rem;
  padding: 0.25rem 0.5rem;
  max-width: 100%;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

#jobBreadcrumb {
  width: 100%;
  display: flex;
  justify-content: center;
}

.job-steps-animated::-webkit-scrollbar {
  display: none;
}

.job-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.65rem;
  animation: stepFadeIn 0.5s ease backwards;
  min-width: 52px;
}

.job-step-line {
  width: 18px;
  height: 2px;
  background: var(--border);
  list-style: none;
  flex-shrink: 0;
  margin: 0 0.15rem;
  align-self: center;
  margin-bottom: 1.1rem;
  transition: background 0.3s;
}

.job-step-line.done {
  background: var(--green);
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--bg-soft);
  border: 2px solid var(--border);
  color: var(--text-muted);
  transition: all 0.3s;
}

.step-text {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  max-width: 72px;
  line-height: 1.2;
}

.job-step-item.pending .step-circle {
  background: #f5f5f5;
}

.job-step-item.active .step-circle {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  animation: stepPulse 1.8s ease-in-out infinite;
  box-shadow: 0 0 0 4px rgba(0, 0, 128, 0.12);
}

.job-step-item.active .step-text {
  color: var(--navy);
}

.job-step-item.done .step-circle {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.job-step-item.done .step-text {
  color: var(--green);
}

@keyframes stepFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes stepPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.job-step-title {
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--text);
  line-height: 1.35;
}

.job-step-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.job-pill-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.job-pill-list-states {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  width: 100%;
}

/* State cards — map + name + action (separate from blue pill buttons) */
.job-state-card {
  display: grid;
  grid-template-columns: 50px 1fr 28px;
  align-items: center;
  gap: 0;
  padding: 0;
  border-radius: 12px;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  text-decoration: none;
  background: #ffffff;
  color: #000000;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #2563eb;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
  min-height: 58px;
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s;
}

.job-state-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.15);
  border-left-color: var(--saffron);
  background: #fafbff;
  color: #000000;
}

.state-icon-wrap {
  flex-shrink: 0;
  width: 50px;
  height: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-right: 1px solid #e2e8f0;
  padding: 6px 4px;
  overflow: hidden;
}

.state-map-icon {
  display: block;
  width: 38px;
  height: 38px;
  color: #0f172a;
  flex-shrink: 0;
}

.state-map-india {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  color: #000080;
}

.job-step-tools-bar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 420px;
  margin: 0 auto 1rem;
  padding: 0 0.25rem;
}

.job-step-tools-bar .job-clear-btn {
  flex: 1 1 auto;
  min-width: 140px;
  max-width: 200px;
  width: auto;
}

.state-text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.12rem;
  padding: 0.5rem 0.55rem;
  min-width: 0;
}

.state-name {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.25;
  color: #000000;
}

.state-action {
  font-size: 0.72rem;
  font-weight: 600;
  color: #1d4ed8;
  line-height: 1.2;
}

.state-arrow {
  font-size: 1.35rem;
  font-weight: 300;
  color: #94a3b8;
  line-height: 1;
  padding-right: 0.5rem;
  align-self: center;
}

.job-state-card:hover .state-arrow {
  color: #2563eb;
  transform: translateX(2px);
}

.job-state-card:hover .state-name {
  color: #000000;
}

.job-state-card:hover .state-action {
  color: #1d4ed8;
}

/* Reward ad popup (step 3) */
.reward-ad-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.reward-ad-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.reward-ad-modal {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 380px;
  max-height: 90vh;
  overflow: auto;
  padding: 1.25rem 1rem 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  animation: rewardPopIn 0.35s ease;
}

@keyframes rewardPopIn {
  from { transform: scale(0.92) translateY(12px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.reward-ad-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 36px;
  height: 36px;
  border: none;
  background: #f1f5f9;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: #334155;
  z-index: 2;
}

.reward-ad-close:hover {
  background: #e2e8f0;
}

.reward-ad-title {
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 0.25rem;
  padding-right: 2rem;
}

.reward-ad-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin: 0 0 1rem;
}

.reward-ad-close.reward-ad-locked,
.reward-ad-skip.reward-ad-locked {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.reward-ad-timer {
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin: 0 0 0.75rem;
  padding: 0.4rem 0.75rem;
  background: #eff6ff;
  border-radius: 999px;
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
}

.reward-ad-body {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: visible;
}

.reward-ad-slot {
  width: 100%;
  min-width: 120px;
  min-height: 250px;
}

.reward-ad-slot.ad-slot-active {
  border: none;
  background: transparent;
  padding: 0;
}

.reward-ad-skip {
  display: block;
  width: 100%;
  padding: 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--text-muted);
}

.reward-ad-skip:hover {
  background: var(--bg-soft);
}

body.reward-ad-lock {
  overflow: hidden;
}

.job-pill-btn {
  display: block;
  width: 100%;
  padding: 0.95rem 1.15rem;
  text-align: center;
  background: #2563eb;
  color: #ffffff !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.22);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.job-pill-list-states .job-pill-btn.job-pill-state {
  padding: 0;
  text-align: left;
  border-radius: 12px;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
  background: #ffffff !important;
  color: #000000 !important;
}

/* legacy fallback if cached JS still uses job-pill-state */
.job-pill-list-states .job-pill-state .state-name,
.job-pill-list-states .job-state-card .state-name {
  color: #000000 !important;
  -webkit-text-fill-color: #000000;
}

.job-pill-list-states .job-pill-state .state-action,
.job-pill-list-states .job-state-card .state-action {
  color: #1d4ed8 !important;
  -webkit-text-fill-color: #1d4ed8;
}

.job-pill-list-states .job-pill-state .state-arrow,
.job-pill-list-states .job-state-card .state-arrow {
  color: #64748b !important;
}

.job-pill-list-states .job-pill-btn.job-pill-state:hover,
.job-pill-list-states .job-state-card:hover {
  background: #fafbff !important;
  color: #000000 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.15);
}

.job-pill-list-states .job-pill-state:hover .state-name,
.job-pill-list-states .job-state-card:hover .state-name {
  color: #000000 !important;
  -webkit-text-fill-color: #000000;
}

.job-pill-list-states .job-pill-state:hover .state-action,
.job-pill-list-states .job-state-card:hover .state-action {
  color: #1d4ed8 !important;
  -webkit-text-fill-color: #1d4ed8;
}

.job-pill-list-states .job-pill-state:hover .state-arrow,
.job-pill-list-states .job-state-card:hover .state-arrow {
  color: #2563eb !important;
}

.job-pill-hot {
  background: #1d4ed8;
  border: 2px solid #fbbf24;
}

.job-pill-btn:hover:not(.job-pill-state) {
  background: #1d4ed8;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.job-pill-sm {
  display: inline-block;
  width: auto;
  padding: 0.55rem 1.25rem;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.job-pill-disabled {
  opacity: 0.7;
  pointer-events: none;
  background: #94a3b8;
}

.job-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.ad-in-list {
  margin: 0.75rem 0;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  display: block;
  grid-column: 1 / -1;
}

/* Mobile in-list + inline: reserve 300×250 */
.ad-in-list.ad-slot-active,
.ad-in-list.ad-in-list-300,
.ad-in-list[data-ad-done="1"],
.ad-in-list[data-ad-filled="1"] {
  min-height: 250px !important;
  min-width: 300px;
  max-width: 100%;
  margin: 0.75rem 0 !important;
}

@media (max-width: 1023px) {
  .job-flow-ad.ad-slot-active,
  .job-flow-ad[data-ad-done="1"],
  .job-flow-ad[data-ad-filled="1"] {
    min-height: 250px !important;
    width: 100%;
    max-width: 100%;
  }
}

/* Keep visible while ADX loads */
.ad-slot.ad-slot-active,
.ad-slot[data-ad-done="1"] {
  min-height: 50px !important;
}

/* Unfilled dynamic slots collapse — not embedded HTML slots. */
.ad-slot[data-ad-slot]:not([data-ad-filled="1"]):not(.ad-slot-active) {
  min-height: 0 !important;
}

.ad-in-list:not([data-ad-filled="1"]):not(.ad-slot-active):not([data-ad-done="1"]),
.job-flow-ad:not([data-ad-filled="1"]):not(.ad-slot-active):not([data-ad-done="1"]) {
  margin: 0 !important;
  min-height: 0 !important;
}

.ad-slot-unfilled {
  min-height: 0 !important;
  height: auto !important;
}

.job-flow-ad-mid {
  margin: 1rem 0;
}

.filter-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.filter-chip {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
}

.slug-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: normal;
}

.results-note {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.results-note-live {
  color: #15803d;
  font-weight: 600;
}

.results-note-demo {
  color: #b45309;
  font-weight: 600;
  margin-top: 1.25rem;
}

.badge-demo {
  background: rgba(100, 116, 139, 0.15);
  color: #475569;
  margin-left: 0.35rem;
}

.job-result-demo {
  opacity: 0.92;
  border-style: dashed;
}

.job-result-card {
  margin-bottom: 1rem;
}

.job-flow-ad {
  margin: 1rem 0;
}

.job-side-tools {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.job-side-tools-mobile {
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}

.job-clear-btn {
  display: block;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  background: #fff5f5;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: #b91c1c;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}

.job-clear-btn:hover {
  background: #fee2e2;
  border-color: #f87171;
}

.job-restart-side {
  border-color: #86efac;
  background: #f0fdf4;
  color: #15803d;
}

.job-restart-side:hover {
  background: #dcfce7;
  border-color: #4ade80;
}

.job-actions-row {
  text-align: center;
  margin: 1rem 0 0.5rem;
}

.job-restart-btn {
  display: inline-block;
  width: auto;
  max-width: 100%;
  background: #15803d !important;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
}

.job-restart-btn:hover {
  background: #166534 !important;
}

.job-no-match {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #fff8f0;
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  margin: 1rem 0;
}

.job-no-match p {
  margin: 0 0 0.75rem;
  color: #9a3412;
  font-size: 0.95rem;
}

@media (min-width: 640px) {
  .job-pill-list-states {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }

  .job-flow-page.job-flow-states {
    max-width: 720px;
  }

  .state-name {
    font-size: 0.86rem;
  }

  .state-action {
    font-size: 0.68rem;
  }

  .job-steps-animated {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

@media (min-width: 1024px) {
  .job-layout-wrap {
    width: 100%;
    overflow-x: hidden;
  }

  .job-layout-wrap .container.job-layout {
    width: min(1280px, calc(100% - 2rem));
    max-width: 1280px;
    margin-inline: auto;
    padding: 0;
  }

  .job-ad-rail {
    display: block;
    width: var(--site-ad-col);
    max-width: var(--site-ad-col);
    min-width: 0;
    position: sticky;
    top: calc(var(--header-h) + 0.75rem);
    align-self: start;
    height: fit-content;
    max-height: calc(100vh - var(--header-h) - 1rem);
    overflow: hidden;
  }

  .job-ad-rail-multi {
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
  }

  .job-ad-rail-multi[data-rail-density="big"] .ad-rail-slot-3 {
    display: none !important;
  }

  .job-ad-rail-multi[data-rail-density="big"] .ad-rail-slot {
    min-height: 280px;
  }

  .job-ad-rail-left,
  .job-ad-rail-right {
    width: var(--site-ad-col);
    max-width: var(--site-ad-col);
  }

  .job-layout {
    grid-template-columns: minmax(0, var(--site-ad-col)) minmax(0, 1fr) minmax(0, var(--site-ad-col));
    gap: var(--site-gap);
    width: 100%;
    max-width: 1280px;
  }

  .job-ad-rail .ad-slot {
    width: 100%;
    max-width: var(--site-ad-col);
    margin: 0;
    min-height: 250px;
    overflow: visible;
    padding: 0.25rem;
    box-sizing: border-box;
  }

  .job-ad-rail .ad-slot.ad-slot-active,
  .job-ad-rail .ad-slot[data-ad-done="1"] {
    min-height: 250px !important;
    display: block !important;
  }

  .job-ad-rail .ad-slot[data-ad-filled="1"] {
    min-height: 250px !important;
  }

  .job-ad-rail .ad-slot > div {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    overflow: hidden !important;
  }

  .job-ad-rail .ad-slot iframe {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  /* Desktop: side rails only — hide inline ads inside flow content */
  .job-flow-page .job-flow-ad[data-ad-slot="ad-inline-1"],
  .job-flow-page .job-flow-ad[data-ad-slot="ad-footer"],
  .job-flow-page .ad-in-list,
  .job-flow-page [data-ad-slot="ad-list-mid"],
  .job-flow-page [data-ad-slot^="ad-list-"] {
    display: none !important;
  }

  .job-flow-page,
  .job-flow-page.job-flow-states {
    max-width: 100%;
    width: 100%;
    min-width: 0;
  }

  .ad-banner-top .container,
  .ad-banner-top {
    max-width: 1280px;
    width: calc(100% - 2rem);
  }

  .ad-banner-top .ad-slot,
  .ad-banner-top .ad-slot.ad-slot-active,
  .ad-banner-top .ad-slot[data-ad-done="1"] {
    display: block !important;
    min-height: 90px !important;
    max-width: 970px;
    margin: 0 auto;
  }

  .step-text {
    font-size: 0.72rem;
    max-width: 80px;
  }

  .job-side-tools-mobile {
    display: none !important;
  }

  .job-step-tools-bar {
    display: flex;
    max-width: 460px;
    margin-bottom: 1.25rem;
  }

  .job-side-tools-desktop {
    display: none !important;
  }
}

  @media (max-width: 1023px) {
  .job-ad-rail {
    display: none !important;
  }

  .ad-slot.ad-slot-active {
    min-height: 50px !important;
    overflow: visible;
  }

  .ad-slot.ad-slot-active > div[id^="gpt-"] {
    min-height: 50px !important;
    display: block !important;
  }

  .job-flow-ad[data-ad-filled="1"],
  .ad-in-list[data-ad-filled="1"] {
    min-height: 250px;
  }

  .job-flow-page .job-flow-ad[data-ad-slot="ad-inline-1"],
  .job-flow-page .job-flow-ad[data-ad-slot="ad-footer"] {
    display: none !important;
  }

  .job-flow-page .job-flow-ad[data-ad-slot="ad-inline-2"],
  .job-flow-page .ad-in-list,
  .job-flow-page [data-ad-slot="ad-list-mid"],
  .job-flow-page [data-ad-slot^="ad-list-"],
  .ad-banner-top .ad-slot {
    display: block !important;
    width: 100%;
    max-width: 100%;
    min-height: 90px;
    overflow: visible;
  }

  .ad-banner-top .ad-slot.ad-slot-active,
  .ad-banner-top .ad-slot[data-ad-done="1"] {
    min-height: 90px !important;
  }

  body[data-dense-mobile-ads="1"] .ad-banner-stack .ad-slot[data-ad-filled="1"],
  body[data-dense-mobile-ads="1"] .ad-in-list[data-ad-filled="1"],
  body[data-dense-mobile-ads="1"] .job-flow-ad[data-ad-filled="1"] {
    min-height: 250px;
  }

  .ad-slot iframe,
  .ad-slot > div > iframe {
    max-width: 100% !important;
  }

  .job-flow-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .job-step-title,
  .job-step-sub {
    text-align: center;
    width: 100%;
  }

  .job-back-btn {
    align-self: flex-start;
  }

  #jobBreadcrumb,
  #jobStepToolsBar,
  .job-pill-list,
  .job-pill-list-states,
  .job-flow-ad,
  .ad-in-list,
  .filter-summary,
  .job-no-match,
  .job-actions-row {
    width: 100%;
    align-self: stretch;
  }

  .job-side-tools-mobile {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .job-layout-wrap .container {
    width: calc(100% - 1rem);
    padding-inline: 0.5rem;
  }

  .job-flow-page {
    padding-top: 0.5rem;
    padding-left: 0;
    padding-right: 0;
  }

  /* Mobile stepper — 5 steps centered in one row */
  .job-steps-animated {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.15rem;
    justify-items: center;
    align-items: start;
    max-width: 340px;
    margin-inline: auto;
    padding: 0.35rem 0.25rem 0.5rem;
    overflow: visible;
  }

  .job-step-line {
    display: none;
  }

  .job-step-item {
    min-width: 0;
    width: 100%;
    padding: 0.2rem 0.1rem;
    flex-shrink: 1;
  }

  .step-circle {
    width: 28px;
    height: 28px;
    font-size: 0.72rem;
    margin: 0 auto;
  }

  .step-text {
    font-size: 0.58rem;
    max-width: 100%;
    line-height: 1.15;
    word-break: break-word;
  }

  .job-step-title {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    padding: 0 0.25rem;
  }

  .job-step-sub {
    font-size: 0.8rem;
    margin-bottom: 0.85rem;
    padding: 0 0.25rem;
  }

  .job-pill-btn {
    font-size: 0.82rem;
    padding: 0.78rem 0.85rem;
  }

  .job-state-card {
    min-height: 54px;
    border-radius: 10px;
    grid-template-columns: 46px 1fr 24px;
    text-align: left;
  }

  .state-icon-wrap {
    width: 46px;
    min-height: 54px;
    padding: 5px 3px;
  }

  .state-map-icon {
    width: 34px;
    height: 34px;
  }

  .state-text-wrap {
    padding: 0.45rem 0.5rem;
    text-align: left;
  }

  .state-name {
    font-size: 0.82rem;
  }

  .state-action {
    font-size: 0.68rem;
  }

  .state-arrow {
    font-size: 1.2rem;
    padding-right: 0.4rem;
  }

  .job-pill-list-states {
    gap: 0.4rem;
  }

  .job-side-tools-mobile {
    display: none;
  }

  .job-step-tools-bar {
    display: flex;
    margin-bottom: 0.85rem;
  }

  .job-step-tools-bar .job-clear-btn {
    font-size: 0.75rem;
    padding: 0.45rem 0.55rem;
  }

  .reward-ad-modal {
    max-width: 100%;
    border-radius: 14px;
  }

  .reward-ad-body {
    min-height: 220px;
  }
}
