/* ════════════════════════════════════════════════════════════
   TUISYENKU — Digital Ad Real Estate CSS
   TOP TICKER BAR + DEALS BAND (primary ad real estate)
   ════════════════════════════════════════════════════════════ */

/* ─── TOP AD TICKER BAR ─────────────────────────────────── */
.top-ad-bar {
  width: 100%;
  background: #0D2E3A;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  height: 36px;
  overflow: hidden;
  position: relative;
  z-index: 1100;
}
.top-ad-sponsored {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #00A67E;
  background: rgba(0,166,126,0.15);
  border: 1px solid rgba(0,166,126,0.3);
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.top-ad-ticker {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  overflow: hidden;
  min-width: 0;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: tickerScroll 32s linear infinite;
  will-change: transform;
}
.ticker-track:hover { animation-play-state: paused; cursor: pointer; }
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px 0 0;
  font-size: 12px;
  color: rgba(255,255,255,0.82);
}
.ticker-item strong { color: #fff; font-weight: 700; }
.ticker-emoji { font-size: 14px; flex-shrink: 0; }
.ticker-cta {
  color: #00A67E;
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
  padding-right: 24px;
  border-right: 1px solid rgba(255,255,255,0.15);
  margin-right: 24px;
}
.top-ad-cta {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #00A67E;
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}
.top-ad-cta:hover { background: #007D60; }
.top-ad-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  cursor: pointer;
  padding: 0 4px;
  flex-shrink: 0;
  line-height: 1;
  transition: color 0.2s;
}
.top-ad-close:hover { color: #fff; }

/* ─── DEALS BAND ─────────────────────────────────────────── */
.deals-band {
  background: #fff;
  border-bottom: 1px solid #E4E9ED;
  padding: 20px 0;
}
.deals-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.deals-band-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.deals-band-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #52606D;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.deals-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #00A67E;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.5; transform:scale(0.7); }
}
.deals-advertise-link {
  font-size: 12px;
  font-weight: 700;
  color: #00A67E;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s;
}
.deals-advertise-link:hover { opacity: 0.75; text-decoration: underline; }

.deals-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.deal-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  background: var(--deal-bg, #F8FAFB);
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 14px 12px;
  text-decoration: none;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}
.deal-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--deal-color, #00A67E);
  border-radius: 12px 12px 0 0;
}
.deal-card:hover {
  border-color: var(--deal-color, #00A67E);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}
.deal-emoji { font-size: 26px; line-height: 1; margin-bottom: 2px; }
.deal-body { flex: 1; }
.deal-tag {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--deal-color, #52606D);
  margin-bottom: 3px;
}
.deal-title {
  font-size: 12px;
  font-weight: 800;
  color: #1A3C4E;
  line-height: 1.3;
  margin-bottom: 3px;
}
.deal-by {
  font-size: 10px;
  color: #9AA5B1;
  line-height: 1.3;
}
.deal-cta {
  font-size: 11px;
  font-weight: 800;
  color: var(--deal-color, #00A67E);
  margin-top: 2px;
}

/* Responsive deals band */
@media (max-width: 1100px) {
  .deals-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .deals-cards { grid-template-columns: repeat(2, 1fr); }
  .ticker-item { padding-right: 20px; }
}
@media (max-width: 480px) {
  .deals-cards { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .deal-card { padding: 10px 10px; }
}

/* ════════════════════════════════════════════════════════════
   Zones: hero-banner · section-strip · card-grid ·
          sidebar · footer-leaderboard · interstitial
   ════════════════════════════════════════════════════════════ */

/* ─── AD LABEL (small "Sponsored" badge) ─────────────────── */
.ad-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9AA5B1;
  background: #F1F4F6;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.ad-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #00A67E; display: inline-block; }

/* ════════════════════════════════════════════════════════════
   ZONE 1 — HERO BANNER  (full-width, under hero wave)
   ════════════════════════════════════════════════════════════ */
.ad-zone-hero-banner {
  background: #fff;
  padding: 0 0 8px;
}
.hero-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero-banner-slot {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 32px;
  background: linear-gradient(120deg, #EFF6FF 0%, #DBEAFE 100%);
  border: 1.5px solid #BFDBFE;
  box-shadow: 0 4px 24px rgba(37,99,235,0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  min-height: 88px;
}
.hero-banner-slot:hover {
  box-shadow: 0 12px 40px rgba(37,99,235,0.15);
  transform: translateY(-2px);
}
.hbs-left { display: flex; align-items: center; gap: 20px; }
.hbs-emoji { font-size: 40px; line-height: 1; flex-shrink: 0; }
.hbs-text {}
.hbs-title {
  font-size: 18px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.2;
  margin-bottom: 4px;
}
.hbs-sub {
  font-size: 13px;
  color: #475569;
  line-height: 1.4;
  max-width: 520px;
}
.hbs-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.hbs-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1e293b;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 100px;
  white-space: nowrap;
  transition: background 0.2s;
}
.hbs-cta:hover { background: #00A67E; }
.hbs-company { font-size: 11px; color: #94a3b8; }

/* rotating highlight pulse */
.hero-banner-slot::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
  pointer-events: none;
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ════════════════════════════════════════════════════════════
   ZONE 2 — SECTION STRIP  (full-width band between sections)
   ════════════════════════════════════════════════════════════ */
.ad-zone-section-strip {
  padding: 12px 0;
  overflow: hidden;
}
.section-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-strip-slot {
  border-radius: 12px;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.section-strip-slot:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
}
.sss-emoji { font-size: 32px; flex-shrink: 0; }
.sss-content { flex: 1; }
.sss-title { font-size: 16px; font-weight: 800; color: #1e293b; margin-bottom: 3px; }
.sss-sub { font-size: 13px; color: #475569; }
.sss-cta {
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 100px;
  border: 2px solid currentColor;
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
}
.sss-cta:hover { color: #fff !important; border-color: transparent !important; }

/* ════════════════════════════════════════════════════════════
   ZONE 3 — CARD GRID  (3-col ad cards inside content)
   ════════════════════════════════════════════════════════════ */
.ad-zone-card-grid {
  padding: 60px 0;
  background: #F8FAFB;
}
.ad-zone-card-grid .section-header {
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 0 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.ad-zone-card-grid .section-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: #1A3C4E;
}
.ad-zone-card-grid .section-header p {
  font-size: 14px;
  color: #52606D;
  max-width: 500px;
}
.ad-zone-card-grid .view-all {
  font-size: 13px;
  font-weight: 700;
  color: #00A67E;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}
.ad-zone-card-grid .view-all:hover { text-decoration: underline; }
.ad-cards-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ad-card {
  border-radius: 16px;
  padding: 22px;
  border: 1.5px solid rgba(0,0,0,0.07);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}
.ad-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.ad-card-header { display: flex; align-items: flex-start; justify-content: space-between; }
.ad-card-emoji { font-size: 36px; line-height: 1; }
.ad-card-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(0,0,0,0.06);
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ad-card-title { font-size: 16px; font-weight: 800; color: #1e293b; line-height: 1.25; }
.ad-card-sub { font-size: 13px; color: #475569; line-height: 1.55; flex: 1; }
.ad-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(0,0,0,0.07);
  padding-top: 12px;
  margin-top: auto;
}
.ad-card-company { font-size: 11px; color: #94a3b8; font-weight: 600; }
.ad-card-cta {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
/* shimmer on card hover */
.ad-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}
.ad-card:hover::after { left: 150%; }

/* ════════════════════════════════════════════════════════════
   ZONE 4 — SIDEBAR FLOATER  (fixed right panel on desktop)
   ════════════════════════════════════════════════════════════ */
.ad-zone-sidebar {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 180px;
}
.sidebar-ad-card {
  border-radius: 12px;
  padding: 14px;
  border: 1.5px solid rgba(0,0,0,0.07);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.sidebar-ad-card:hover {
  transform: translateX(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.14);
}
.sac-emoji { font-size: 24px; margin-bottom: 8px; display: block; }
.sac-title { font-size: 12px; font-weight: 800; color: #1e293b; margin-bottom: 4px; line-height: 1.3; }
.sac-sub { font-size: 10px; color: #475569; line-height: 1.4; margin-bottom: 10px; }
.sac-cta {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 100px;
  color: #fff;
  transition: opacity 0.2s;
}
.sac-cta:hover { opacity: 0.85; }
.sac-close {
  position: absolute;
  top: 6px; right: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(0,0,0,0.10);
  border: none;
  cursor: pointer;
  font-size: 10px;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.sac-close:hover { background: rgba(0,0,0,0.20); }
/* collapse button */
.sidebar-toggle-btn {
  background: #1A3C4E;
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
}
.sidebar-toggle-btn:hover { background: #00A67E; }
.ad-zone-sidebar.collapsed .sidebar-ad-card { display: none; }

/* ════════════════════════════════════════════════════════════
   ZONE 5 — FOOTER LEADERBOARD  (full-width, above footer)
   ════════════════════════════════════════════════════════════ */
.ad-zone-footer-leaderboard {
  padding: 20px 0;
  background: #fff;
  border-top: 1px solid #E4E9ED;
}
.footer-lb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-lb-slot {
  border-radius: 14px;
  padding: 24px 36px;
  display: flex;
  align-items: center;
  gap: 28px;
  border: 1.5px solid transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.footer-lb-slot:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(0,0,0,0.10); }
.flb-emoji { font-size: 44px; flex-shrink: 0; }
.flb-content { flex: 1; }
.flb-title { font-size: 20px; font-weight: 800; color: #1e293b; margin-bottom: 5px; }
.flb-sub { font-size: 14px; color: #475569; line-height: 1.5; }
.flb-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.flb-cta {
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 100px;
  color: #fff;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s, transform 0.2s;
}
.flb-cta:hover { opacity: 0.88; transform: scale(1.03); }
.flb-company { font-size: 11px; color: #94a3b8; }

/* ════════════════════════════════════════════════════════════
   AD MANAGEMENT PORTAL — ads.html
   ════════════════════════════════════════════════════════════ */

/* Portal layout */
.portal-body { background: #F8FAFB; min-height: 100vh; font-family: 'Plus Jakarta Sans', sans-serif; }
.portal-header {
  background: #1A3C4E;
  color: #fff;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}
.portal-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.portal-logo span.logo-accent { color: #00A67E; }
.portal-nav { display: flex; gap: 4px; }
.portal-nav a {
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.2s;
}
.portal-nav a:hover, .portal-nav a.active { background: rgba(255,255,255,0.12); color: #fff; }
.portal-nav a.active { background: #00A67E; color: #fff; }

.portal-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px 80px;
}

/* Page title */
.portal-page-title { margin-bottom: 28px; }
.portal-page-title h1 { font-size: 26px; font-weight: 800; color: #1A3C4E; margin-bottom: 4px; }
.portal-page-title p { font-size: 14px; color: #52606D; }

/* Stats cards */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  border: 1px solid #E4E9ED;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.stat-card-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: #9AA5B1; margin-bottom: 8px; }
.stat-card-value { font-size: 28px; font-weight: 800; color: #1A3C4E; margin-bottom: 4px; }
.stat-card-sub { font-size: 12px; color: #52606D; display: flex; align-items: center; gap: 4px; }
.stat-card-sub .up { color: #00A67E; }
.stat-card-sub .down { color: #EF4444; }

/* Tabs */
.portal-tabs { display: flex; gap: 4px; margin-bottom: 24px; background: #E4E9ED; border-radius: 10px; padding: 4px; width: fit-content; }
.portal-tab {
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  background: transparent;
  color: #52606D;
  cursor: pointer;
  transition: all 0.2s;
}
.portal-tab.active { background: #fff; color: #1A3C4E; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

/* Panel */
.portal-panel { display: none; }
.portal-panel.active { display: block; }

/* Ad table */
.ad-table-wrap {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #E4E9ED;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.ad-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #E4E9ED;
  gap: 12px;
  flex-wrap: wrap;
}
.ad-table-toolbar h3 { font-size: 16px; font-weight: 700; color: #1A3C4E; }
.toolbar-actions { display: flex; gap: 10px; align-items: center; }
.tb-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F8FAFB;
  border: 1px solid #E4E9ED;
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  width: 220px;
}
.tb-search input { border: none; background: none; outline: none; font-size: 13px; width: 100%; font-family: inherit; color: #1A3C4E; }
.tb-filter {
  padding: 8px 14px;
  border: 1px solid #E4E9ED;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  color: #52606D;
  cursor: pointer;
}
.btn-add-ad {
  background: #00A67E;
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}
.btn-add-ad:hover { background: #007D60; }
.ad-table { width: 100%; border-collapse: collapse; }
.ad-table th {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9AA5B1;
  padding: 12px 20px;
  text-align: left;
  border-bottom: 1px solid #E4E9ED;
  background: #FAFBFC;
  white-space: nowrap;
}
.ad-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #F1F4F6;
  font-size: 13px;
  color: #1A3C4E;
  vertical-align: middle;
}
.ad-table tr:last-child td { border-bottom: none; }
.ad-table tr:hover td { background: #FAFBFC; }
.ad-company-cell { display: flex; align-items: center; gap: 10px; }
.ad-company-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.ad-company-name { font-weight: 700; font-size: 13px; }
.ad-company-cat { font-size: 11px; color: #9AA5B1; margin-top: 1px; }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
}
.status-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; }
.status-active { background: #ECFDF5; color: #059669; }
.status-active::before { background: #059669; }
.status-pending { background: #FEF3C7; color: #D97706; }
.status-pending::before { background: #D97706; }
.status-paused { background: #F1F5F9; color: #64748B; }
.status-paused::before { background: #64748B; }
.status-expired { background: #FEF2F2; color: #EF4444; }
.status-expired::before { background: #EF4444; }
.plan-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.plan-Starter { background: #F1F5F9; color: #64748B; }
.plan-Growth { background: #ECFDF5; color: #059669; }
.plan-Premium { background: #EFF6FF; color: #2563EB; }
.plan-Enterprise { background: #F5F3FF; color: #7C3AED; }
.zone-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: #E4E9ED;
  color: #52606D;
}
.ctr-bar {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ctr-track { flex: 1; height: 5px; background: #E4E9ED; border-radius: 3px; min-width: 60px; overflow: hidden; }
.ctr-fill { height: 100%; background: #00A67E; border-radius: 3px; }
.ctr-value { font-size: 11px; font-weight: 700; color: #00A67E; min-width: 30px; }
.tbl-actions { display: flex; gap: 8px; }
.tbl-btn {
  width: 30px; height: 30px;
  border-radius: 8px;
  border: 1px solid #E4E9ED;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #52606D;
  transition: all 0.2s;
}
.tbl-btn:hover { background: #F1F4F6; color: #1A3C4E; }
.tbl-btn.danger:hover { background: #FEF2F2; color: #EF4444; border-color: #FCA5A5; }

/* Pagination */
.table-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid #E4E9ED;
  font-size: 12px;
  color: #9AA5B1;
}
.page-btns { display: flex; gap: 4px; }
.page-btn {
  width: 30px; height: 30px;
  border-radius: 6px;
  border: 1px solid #E4E9ED;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  color: #52606D;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.page-btn.active { background: #00A67E; color: #fff; border-color: #00A67E; }
.page-btn:hover:not(.active) { background: #F1F4F6; }

/* ── SUBMIT AD FORM ─────────────────────────── */
.form-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #E4E9ED;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  margin-bottom: 24px;
}
.form-card h3 { font-size: 17px; font-weight: 800; color: #1A3C4E; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid #E4E9ED; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid.three { grid-template-columns: repeat(3, 1fr); }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 12px; font-weight: 700; color: #52606D; text-transform: uppercase; letter-spacing: 0.06em; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid #E4E9ED;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: #1A3C4E;
  background: #FAFBFC;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #00A67E; background: #fff; }
.form-group textarea { resize: vertical; min-height: 80px; }
.color-input-row { display: flex; align-items: center; gap: 10px; }
.color-input-row input[type="color"] { width: 44px; height: 44px; padding: 2px; border-radius: 8px; border: 1.5px solid #E4E9ED; cursor: pointer; }
.color-input-row input[type="text"] { flex: 1; }

/* Ad preview card */
.preview-card {
  border-radius: 16px;
  padding: 22px;
  border: 1.5px dashed #CBD2D9;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s ease;
  position: relative;
}
.preview-card .ad-label { position: absolute; top: 14px; right: 14px; }
.preview-emoji { font-size: 36px; }
.preview-title { font-size: 17px; font-weight: 800; color: #1e293b; }
.preview-sub { font-size: 13px; color: #475569; line-height: 1.5; }
.preview-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 100px;
  color: #fff;
  border: none;
  margin-top: auto;
  width: fit-content;
}

/* Pricing table */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.pricing-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px 20px;
  border: 1.5px solid #E4E9ED;
  text-align: center;
  position: relative;
  transition: all 0.25s ease;
}
.pricing-card.popular {
  border-color: #00A67E;
  box-shadow: 0 8px 32px rgba(0,166,126,0.12);
}
.popular-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: #00A67E;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-plan { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #9AA5B1; margin-bottom: 8px; }
.pricing-price { font-size: 32px; font-weight: 800; color: #1A3C4E; margin-bottom: 4px; }
.pricing-price span { font-size: 14px; font-weight: 500; color: #9AA5B1; }
.pricing-desc { font-size: 12px; color: #52606D; margin-bottom: 16px; line-height: 1.5; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.pricing-features li { font-size: 12px; color: #52606D; display: flex; align-items: center; gap: 6px; }
.pricing-features li::before { content: '✓'; color: #00A67E; font-weight: 800; flex-shrink: 0; }
.pricing-btn {
  display: block;
  width: 100%;
  padding: 10px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  border: 2px solid #00A67E;
  background: transparent;
  color: #00A67E;
  cursor: pointer;
  transition: all 0.2s;
}
.pricing-card.popular .pricing-btn { background: #00A67E; color: #fff; }
.pricing-btn:hover { background: #00A67E; color: #fff; }

/* Zones visual grid */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.zone-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  border: 1.5px solid #E4E9ED;
  transition: all 0.25s ease;
  cursor: pointer;
}
.zone-card:hover { border-color: #00A67E; box-shadow: 0 4px 20px rgba(0,166,126,0.10); }
.zone-card.selected { border-color: #00A67E; background: #F0FBF8; }
.zone-icon { font-size: 28px; margin-bottom: 10px; }
.zone-name { font-size: 15px; font-weight: 700; color: #1A3C4E; margin-bottom: 4px; }
.zone-desc { font-size: 12px; color: #52606D; line-height: 1.5; margin-bottom: 10px; }
.zone-sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.zone-size-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  background: #E4E9ED;
  border-radius: 4px;
  color: #52606D;
}
.zone-price {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 800;
  color: #00A67E;
}

/* Modal */
.portal-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.portal-modal-overlay.open { opacity: 1; pointer-events: all; }
.portal-modal {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}
.portal-modal-overlay.open .portal-modal { transform: translateY(0); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.modal-header h2 { font-size: 20px; font-weight: 800; color: #1A3C4E; }
.modal-close {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid #E4E9ED;
  background: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #52606D;
  transition: all 0.2s;
}
.modal-close:hover { background: #FEF2F2; color: #EF4444; border-color: #FCA5A5; }
.modal-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #E4E9ED;
}
.btn-cancel {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1.5px solid #E4E9ED;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: #52606D;
  cursor: pointer;
}
.btn-cancel:hover { background: #F1F4F6; }
.btn-submit {
  padding: 10px 24px;
  border-radius: 100px;
  border: none;
  background: #00A67E;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover { background: #007D60; }

/* Toast */
.portal-toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: #1A3C4E;
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  z-index: 9999;
  max-width: 320px;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.3s ease;
  display: flex; align-items: center; gap: 10px;
}
.portal-toast.show { transform: translateY(0); opacity: 1; }
.portal-toast.success { background: #059669; }
.portal-toast.error { background: #DC2626; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ad-zone-sidebar { display: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .ad-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-banner-slot { flex-direction: column; align-items: flex-start; }
  .hbs-right { align-items: flex-start; }
  .footer-lb-slot { flex-direction: column; align-items: flex-start; }
  .flb-right { align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid.three { grid-template-columns: 1fr; }
  .zones-grid { grid-template-columns: repeat(2, 1fr); }
  .portal-nav { display: none; }
}
@media (max-width: 600px) {
  .ad-cards-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .zones-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .portal-content { padding: 20px 16px 60px; }
  .form-card { padding: 20px; }
}
