/* ==========================================================================
   ATP Advertiser Register — Complete Premium Redesign (2025)
   Gorgeous, clean, modern, Apple-grade polish
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --adv-primary: #a51c36;
  --adv-primary-hover: #8d1730;

  --adv-bg: #f3f4f8;
  --adv-surface: #ffffff;
  --adv-surface-soft: #f7f8fc;

  --adv-text: #1f2937;
  --adv-text-muted: #6b7280;

  --adv-border: #e5e7eb;
  --adv-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);

  --adv-radius-lg: 22px;
  --adv-radius: 14px;
  --adv-radius-sm: 10px;

  --adv-transition: all .25s ease;
}

html.theme-dark {
  --adv-bg: #0f172a;
  --adv-surface: #111827;
  --adv-surface-soft: #1e293b;
  --adv-text: #e2e8f0;
  --adv-text-muted: #94a3b8;
  --adv-border: #1e293b;
  --adv-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   Page Wrapper
   ========================================================================== */

.advertiser-register-page {
  background: var(--adv-bg);
  padding: 20px 2vw;
  color: var(--adv-text);
  font-family: "Inter", system-ui, sans-serif;
  max-width: 1250px;
  margin: 0 auto;
}

/* ==========================================================================
   OPENING OFFER — PREMIUM HERO
   ========================================================================== */

.opening-offer-hero {
  background: var(--adv-surface);
  padding: 48px 40px;
  border-radius: var(--adv-radius-lg);
  box-shadow: var(--adv-shadow);
  border: 1px solid var(--adv-border);
  max-width: 1050px;
  margin: 0 auto 55px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle gradient sheen */
.opening-offer-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right,
      rgba(165, 28, 54, 0.14),
      transparent 75%);
  opacity: 1;
  pointer-events: none;
}

/* Title */
.opening-offer-hero .page-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 16px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: var(--adv-primary);
}

/* Subtitle */
.opening-offer-hero .page-subtitle {
  font-size: 1.08rem;
  color: var(--adv-text-muted);
  max-width: 750px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

/* Lead line */
.opening-offer-hero .lead {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--adv-text);
}

/* Highlight line (if used) */
.opening-offer-hero .big-highlight,
.opening-offer-hero .h4 {
  font-size: 1.45rem !important;
  margin-top: 10px;
  font-weight: 700;
  color: var(--adv-primary) !important;
}

/* MOBILE HERO TWEAKS */
@media (max-width: 576px) {
  .opening-offer-hero {
    padding: 30px 20px;
  }

  .opening-offer-hero .page-title {
    font-size: 1.45rem;
  }

  .opening-offer-hero .page-subtitle {
    font-size: 0.95rem;
  }

  .opening-offer-hero .big-highlight {
    font-size: 1.22rem !important;
  }
}

/* ==========================================================================
   SECTION LABEL BELOW HERO
   ========================================================================== */

.register-below-section {
  background: var(--adv-surface);
  padding: 26px 28px;
  border-radius: var(--adv-radius);
  box-shadow: var(--adv-shadow);
  border: 1px solid var(--adv-border);
  margin: 35px auto;
  text-align: center;
  max-width: 850px;
}

.register-below-section h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--adv-text);
}

/* ==========================================================================
   TEXT CONTENT BLOCKS
   ========================================================================== */

.advertiser-register-page p {
  font-size: 1.05rem;
  color: var(--adv-text);
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* ==========================================================================
   FORM + CARDS
   ========================================================================== */

.form-section,
.advert-submission-wrapper,
.final-submit-section {
  background: var(--adv-surface);
  padding: 36px;
  border-radius: var(--adv-radius);
  box-shadow: var(--adv-shadow);
  border: 1px solid var(--adv-border);
  margin-bottom: 35px;
}

/* Inputs */
.form-control {
  background: var(--adv-surface-soft);
  border: 1px solid var(--adv-border);
  padding: 12px 15px;
  border-radius: var(--adv-radius-sm);
  font-size: 1rem;
  transition: var(--adv-transition);
  color: var(--adv-text);
}

.form-control:focus {
  background: #fff;
  border-color: var(--adv-primary);
  box-shadow: 0 0 0 3px rgba(165, 28, 54, 0.25);
}

/* Labels */
.form-label {
  font-weight: 600;
  color: var(--adv-text);
  margin-bottom: 4px;
}

/* ==========================================================================
   SOCIAL SIGN-IN BUTTONS
   ========================================================================== */

.d-flex.flex-wrap.justify-content-center.gap-2>a {
  min-width: 250px;
  padding: 12px 20px;
  border-radius: var(--adv-radius-sm);
  font-size: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: var(--adv-transition);
  background: var(--adv-surface);
}

.d-flex.flex-wrap.justify-content-center.gap-2>a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   BENEFITS SIDEBAR
   ========================================================================== */

.advertiser-benefits-section {
  background: var(--adv-surface);
  padding: 28px;
  border-radius: var(--adv-radius);
  border: 1px solid var(--adv-border);
  box-shadow: var(--adv-shadow);
}

.advertiser-benefits-title {
  color: var(--adv-primary);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.advertiser-benefits-list li {
  margin-bottom: 12px;
  line-height: 1.55;
  color: var(--adv-text);
}

/* ==========================================================================
   FINAL CTA BUTTON
   ========================================================================== */

.btn-complete-registration {
  background: var(--adv-primary);
  padding: 16px 46px;
  border-radius: var(--adv-radius);
  color: white;
  font-size: 1.15rem;
  text-transform: uppercase;
  font-weight: 400;
  transition: var(--adv-transition);
  box-shadow: 0 8px 18px rgba(165, 28, 54, 0.25);
  display: inline-block;
  margin: 0 auto;
  text-align: center;
  width: auto !important;
  /* ⭐ FIX: stops stretching */
}

.btn-national-redirect {
  background: var(--adv-primary);
  padding: 0.5rem;
  border-radius: 10px;
  color: white;
  font-size: 1rem;
  font-weight: 400;
  display: inline-block;
  margin: 0;
  text-align: center;
  width: auto !important;
  border: none;
  text-decoration: none;
}


.submit-btn-text {
  text-align: center;
  width: 100%;
}


.submit-btn-wrapper {
  text-align: center;
  margin-top: 1rem;
}


.btn-complete-registration:hover {
  background: var(--adv-primary-hover);
  transform: translateY(-3px);
}

/* ==========================================================================
   Scroll To Top
   ========================================================================== */

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 22px;
  background: var(--adv-primary);
  color: white;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  transition: var(--adv-transition);
  display: none;
}

.scroll-to-top:hover {
  background: var(--adv-primary-hover);
  transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE LAYOUT
   ========================================================================== */

@media (max-width: 991px) {
  .advertiser-register-page {
    padding: 40px 16px;
  }
}

@media (max-width: 576px) {

  .form-section,
  .advert-submission-wrapper,
  .final-submit-section {
    padding: 26px;
  }
}

.btn-google {
  background: #fff !important;
  border: 1px solid #dadce0 !important;
  color: #3c4043 !important;
  font-weight: 500;
  transition: 0.15s ease;
}

.btn-google:hover {
  background: #f7f8f9 !important;
  border-color: #c6cacf !important;
  color: #202124 !important;
}

.btn-google img {
  width: 18px;
  height: 18px;
}


/* Fix Facebook button */
.btn-primary {
  background-color: #1877F2 !important;
  /* Facebook blue */
  border-color: #1877F2 !important;
  color: #fff !important;
}

/* Fix Facebook icon */
.btn-primary svg {
  fill: #fff !important;
  color: #fff !important;
}

/* Hover */
.btn-primary:hover {
  background-color: #0f62d6 !important;
  border-color: #0f62d6 !important;
}

/* Fix Apple button */
.btn-dark {
  background-color: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
}

/* Apple icon */
.btn-dark svg {
  fill: #fff !important;
  color: #fff !important;
}

/* Hover */
.btn-dark:hover {
  background-color: #222 !important;
  border-color: #222 !important;
}

/* ============================================================
   PREMIUM PROMO BANNER (ATP Red Edition)
   Clean, modern, refined, high-contrast, visually balanced
   ============================================================ */
.promo-offer {
  background: linear-gradient(135deg,
      rgba(165, 28, 54, 0.14),
      rgba(255, 255, 255, 0.95));
  border: 1.5px solid rgba(165, 28, 54, 0.25);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  margin-bottom: 1.75rem;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  animation: promo-pop 0.45s ease-out;
  backdrop-filter: blur(6px);
}

/* Title */
.promo-title {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.65rem;
  color: #a51c36;
}

/* Subtitle */
.promo-sub {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  color: #374151;
  line-height: 1.55;
}

/* Price Block */
.promo-price {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1.2rem;
}

.promo-price .price {
  font-size: 1.45rem;
  font-weight: 800;
  color: #111;
}

.promo-price .per {
  font-size: 1rem;
  color: #6b7280;
}

/* Restriction Note */
.promo-restrict {
  font-size: 0.95rem;
  font-weight: 600;
  color: #8f0d0d;
  background: rgba(165, 28, 54, 0.08);
  padding: 0.65rem 1rem;
  border-radius: 10px;
  display: inline-block;
  margin-top: 0.4rem;
}

/* Entry animation */
@keyframes promo-pop {
  0% {
    transform: translateY(8px) scale(0.98);
    opacity: 0;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Mobile tweaks */
@media (max-width: 576px) {
  .promo-offer {
    padding: 1.5rem 1.25rem;
  }

  .promo-title {
    font-size: 1.35rem;
  }

  .promo-price .price {
    font-size: 1.3rem;
  }
}

.promo-view-plans {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #374151;
}

.promo-view-plans a {
  color: #a51c36;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
}

.promo-view-plans a:hover {
  text-decoration: underline;
  color: #8d1730;
}