/* ============================================
   THE BITCOIN STRATEGY — Modern Dark Luxury Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg-deep: #07070c;
  --bg-primary: #0c0c14;
  --bg-surface: #111119;
  --bg-card: rgba(255, 255, 255, 0.025);
  --bg-card-hover: rgba(255, 255, 255, 0.045);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(247, 147, 26, 0.25);

  --gold: #f7931a;
  --gold-light: #fbb034;
  --gold-dim: rgba(247, 147, 26, 0.15);
  --gold-glow: rgba(247, 147, 26, 0.08);

  --text-primary: #e8e6e3;
  --text-secondary: #9a978f;
  --text-muted: #5e5c57;
  --text-bright: #ffffff;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--border-subtle);
  --shadow-glow: 0 0 40px rgba(247, 147, 26, 0.06);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-subtle);
}

/* ---- Base Reset & Body ---- */

.modern-public,
.modern-public *,
.modern-public *::before,
.modern-public *::after {
  box-sizing: border-box;
}

.modern-public {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Animated background grid */
.modern-public::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(247, 147, 26, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 147, 26, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Noise texture overlay */
.modern-public::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.modern-public .content-wrapper,
.modern-public header,
.modern-public footer,
.modern-public section,
.modern-public .container {
  position: relative;
  z-index: 1;
}

/* ---- Typography ---- */

.modern-public h1,
.modern-public h2,
.modern-public h3,
.modern-public .display-1,
.modern-public .display-4 {
  font-family: var(--font-display);
  color: var(--text-bright);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.modern-public .display-1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
}

.modern-public .display-4 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
}

.modern-public p,
.modern-public .lead {
  font-family: var(--font-body);
  color: var(--text-secondary);
  line-height: 1.7;
}

.modern-public .lead {
  font-size: 1.1rem;
  font-weight: 400;
}

.modern-public a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.25s ease;
}

.modern-public a:hover {
  color: var(--gold-light);
}

/* ---- Gold accent underline for headings ---- */

.modern-public .gold-accent {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modern-public .section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border: none;
  margin: 1.5rem 0;
}

.modern-public .section-divider--center {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Header / Navigation ---- */

.modern-public header,
.modern-public header.wrapper {
  background: rgba(7, 7, 12, 0.85) !important;
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.3s ease;
}

/* Override theme's white sticky background */
.modern-public .banner--stick.transparent,
.modern-public .banner--stick:not(.navbar-dark) {
  background: rgba(7, 7, 12, 0.95) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

.modern-public .navbar {
  padding: 0.8rem 0;
}

.modern-public .navbar-brand img {
  filter: brightness(1.1);
  height: 36px;
  width: auto;
}

.modern-public .btn-nav-login {
  background: transparent;
  color: var(--text-bright) !important;
  border: 1.5px solid var(--text-bright);
  border-radius: 50rem;
  padding: 0.45rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.modern-public .btn-nav-login:hover {
  background: var(--text-bright);
  color: var(--bg-deep) !important;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

/* ---- Cookie Consent ---- */

.modern-public #cookieDiv {
  background: var(--bg-surface) !important;
  color: var(--text-secondary) !important;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.7rem 1rem !important;
}

.modern-public #cookieDiv a {
  color: var(--gold) !important;
}

.modern-public #cookieDiv .btn {
  background: var(--gold) !important;
  color: var(--bg-deep) !important;
  border: none;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- Section Wrapper ---- */

.modern-public section.wrapper,
.modern-public .wrapper {
  background: transparent !important;
}

.modern-public .bg-light {
  background: transparent !important;
}

/* ---- Hero / Flash Screen ---- */

.modern-public .hero-section {
  padding: 6rem 0 4rem;
  position: relative;
}

.modern-public .hero-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(247, 147, 26, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.modern-public .hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.modern-public .hero-image-wrapper img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--border-subtle);
}

.modern-public .hero-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(247, 147, 26, 0.08), transparent 60%);
  pointer-events: none;
}

/* Remove the old decorative shapes */
.modern-public .shape {
  display: none !important;
}

/* ---- CTA Buttons ---- */

.modern-public .btn-primary,
.modern-public .btn-lg.btn-primary {
  background: linear-gradient(135deg, var(--gold), #e8870e) !important;
  border: none !important;
  color: #0a0a0f !important;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 0.85rem 2.2rem;
  border-radius: 50rem;
  transition: all 0.35s ease;
  box-shadow: 0 4px 20px rgba(247, 147, 26, 0.25);
  text-transform: uppercase;
}

.modern-public .btn-primary:hover,
.modern-public .btn-lg.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(247, 147, 26, 0.35);
  background: linear-gradient(135deg, var(--gold-light), var(--gold)) !important;
}

.modern-public .btn-primary:active {
  transform: translateY(0);
}

/* ---- Feedback / Testimonial Images ---- */

.modern-public .feedback-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  transition: border-color 0.3s ease;
}

.modern-public .feedback-card:hover {
  border-color: var(--border-accent);
}

.modern-public .feedback-card img {
  border-radius: var(--radius-md);
  max-width: 100%;
  filter: brightness(0.95) contrast(1.05);
}

/* ---- YouTube Player ---- */

.modern-public .video-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--border-subtle);
  margin-bottom: 3rem;
}

.modern-public .video-wrapper::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(247, 147, 26, 0.15), transparent 50%, rgba(247, 147, 26, 0.05));
  pointer-events: none;
  z-index: 1;
}

.modern-public .video-wrapper iframe {
  display: block;
  border-radius: var(--radius-lg);
}

/* ---- Benefits Section ---- */

.modern-public .benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.modern-public .benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.modern-public .benefit-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.modern-public .benefit-card:hover::before {
  opacity: 1;
}

.modern-public .benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-dim);
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(247, 147, 26, 0.2);
}

.modern-public .benefit-card h4 {
  font-family: var(--font-display);
  color: var(--text-bright);
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}

.modern-public .benefit-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ---- Payment CTA Bar ---- */

.modern-public .cta-bar {
  text-align: center;
  padding: 2.5rem 0;
}

/* ---- Pricing Section ---- */

.modern-public .pricing-intro h2 {
  font-family: var(--font-display);
  color: var(--text-bright);
}

.modern-public .pricing-intro .lead {
  color: var(--text-secondary);
}

.modern-public .pricing-intro a {
  color: var(--gold);
}

.modern-public .pricing.card,
.modern-public .pricing .card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
}

.modern-public .pricing.card::before,
.modern-public .pricing .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.modern-public .pricing .card-body {
  padding: 2.5rem !important;
}

.modern-public .pricing .card-title {
  color: var(--text-secondary) !important;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.modern-public .price-currency {
  color: var(--gold) !important;
  font-weight: 600;
}

.modern-public .price-value {
  color: var(--text-bright) !important;
  font-family: var(--font-display);
  font-weight: 700;
}

.modern-public .text-decoration-line-through {
  color: var(--text-muted) !important;
}

.modern-public .icon-list li {
  color: var(--text-secondary);
  font-size: 0.92rem;
  padding: 0.5rem 0;
  padding-left: 1.2rem;
  position: relative;
  list-style: none;
}

.modern-public .icon-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px rgba(247, 147, 26, 0.3);
}

.modern-public .icon-list li i {
  color: var(--gold) !important;
}

.modern-public .icon-list li strong {
  color: var(--text-primary);
}

/* Pricing toggle override */
.modern-public .pricingSwitchersContainer {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary) !important;
}

.modern-public .pricingSwitchersContainer::before {
  background: linear-gradient(135deg, var(--gold), #e8870e) !important;
}

.modern-public .togglePricingSwitchers:checked + .pricingSwitchersContainer div:first-child {
  color: var(--text-secondary) !important;
}

.modern-public .togglePricingSwitchers:checked + .pricingSwitchersContainer div:last-child {
  color: var(--bg-deep) !important;
  font-weight: 600;
}

.modern-public .togglePricingSwitchers + .pricingSwitchersContainer div:first-child {
  color: var(--bg-deep) !important;
  font-weight: 600;
}

.modern-public .togglePricingSwitchers + .pricingSwitchersContainer div:last-child {
  color: var(--text-secondary) !important;
}

/* ---- Payment Form ---- */

.modern-public #paymentForm {
  padding-top: 4rem;
}

.modern-public .form-control,
.modern-public .form-select {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-primary) !important;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.modern-public .form-control:focus,
.modern-public .form-select:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(247, 147, 26, 0.1) !important;
  outline: none;
}

.modern-public .form-control::placeholder {
  color: var(--text-muted) !important;
}

.modern-public .form-floating label {
  color: var(--text-muted) !important;
}

.modern-public .form-floating > .form-control:focus ~ label,
.modern-public .form-floating > .form-control:not(:placeholder-shown) ~ label {
  color: var(--gold) !important;
}

.modern-public .form-check-label {
  color: var(--text-secondary);
}

.modern-public .form-check-label a {
  color: var(--gold);
}

.modern-public .form-check-input {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: var(--border-subtle);
}

.modern-public .form-check-input:checked {
  background-color: var(--gold);
  border-color: var(--gold);
}

.modern-public .text-muted,
.modern-public address {
  color: var(--text-secondary) !important;
}

.modern-public .buy-with-crypto {
  background: transparent !important;
  border: 1.5px solid var(--gold) !important;
  color: var(--gold) !important;
  font-size: 0.8rem !important;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.modern-public .buy-with-crypto:hover {
  background: var(--gold-dim) !important;
}

/* Modal (crypto payment) */
.modern-public .modal-content {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
}

.modern-public .modal-header {
  border-bottom-color: var(--border-subtle);
}

.modern-public .modal-footer {
  border-top-color: var(--border-subtle);
}

.modern-public .modal-body {
  color: var(--text-secondary);
}

.modern-public .modal-body a {
  color: var(--gold);
}

/* Stripe card element container */
.modern-public #paymentForm .form-control {
  padding: 0.85rem 1rem;
}

/* ---- Footer ---- */

.modern-public footer {
  background: var(--bg-primary) !important;
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0 !important;
}

.modern-public footer .widget-title,
.modern-public footer .widget-title a,
.modern-public footer h4 a,
.modern-public footer h5 a {
  color: var(--text-muted) !important;
  font-family: var(--font-body) !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.modern-public footer .widget-title a:hover,
.modern-public footer h4 a:hover,
.modern-public footer h5 a:hover {
  color: var(--gold) !important;
}

.modern-public footer .social a {
  color: var(--text-muted);
  font-size: 1.3rem;
  margin: 0 0.5rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.modern-public footer .social a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

/* ---- Scroll Progress Wrap ---- */

.modern-public .progress-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.modern-public .progress-wrap svg path {
  stroke: var(--gold);
}

/* ---- Reveal Animations ---- */

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

@keyframes fadeSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeSlideRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes subtlePulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- Subscribe Page Hero ---- */

.modern-public .subscribe-hero {
  padding: 4rem 0 2rem;
}

.modern-public .subscribe-hero h1 {
  font-family: var(--font-display);
  margin-bottom: 1.5rem;
}

.modern-public .subscribe-hero ul {
  list-style: none;
  padding: 0;
}

.modern-public .subscribe-hero ul li {
  color: var(--text-secondary);
  padding: 0.5rem 0;
  padding-left: 1.8rem;
  position: relative;
  font-size: 1rem;
  line-height: 1.6;
}

.modern-public .subscribe-hero ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(247, 147, 26, 0.3);
}

/* ---- Responsive ---- */

@media (max-width: 991px) {
  .modern-public .hero-section {
    padding: 3rem 0 2rem;
  }

  .modern-public .display-1 {
    font-size: 2rem;
  }

  .modern-public .benefit-card {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 575px) {
  .modern-public .btn-primary,
  .modern-public .btn-lg.btn-primary {
    padding: 0.75rem 1.6rem;
    font-size: 0.82rem;
  }
}

/* ---- Subscribe Success ---- */

.modern-public .success-section {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.modern-public .success-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 500px;
  margin: 0 auto;
}

.modern-public .success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-dim);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(247, 147, 26, 0.3);
}


/* ============================================
   AUTH PAGES — Dark Luxury Theme (standalone)
   ============================================ */

.auth-modern {
  min-height: 100vh;
  background: var(--bg-deep);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Auth background grid */
.auth-modern::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(247, 147, 26, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 147, 26, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Gold radial glow */
.auth-modern::after {
  content: '';
  position: fixed;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(247, 147, 26, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.auth-modern .auth-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative;
  z-index: 1;
}

.auth-modern .auth-logo {
  margin-bottom: 2.5rem;
}

.auth-modern .auth-logo img {
  height: 40px;
  filter: brightness(1.1);
}

.auth-modern .auth-card {
  width: 100%;
  max-width: 460px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-elevated);
  position: relative;
  overflow: hidden;
  animation: fadeSlideUp 0.6s ease forwards;
}

.auth-modern .auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

.auth-modern .auth-title {
  font-family: var(--font-display);
  color: var(--text-bright);
  font-size: 1.65rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.6rem;
}

.auth-modern .auth-subtitle {
  color: var(--text-secondary);
  font-size: 0.92rem;
  text-align: center;
  margin-bottom: 2rem;
}

.auth-modern .auth-subtitle a {
  color: var(--gold);
  font-weight: 600;
  transition: color 0.25s ease;
}

.auth-modern .auth-subtitle a:hover {
  color: var(--gold-light);
}

.auth-modern .auth-label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.auth-modern .auth-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.auth-modern .auth-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(247, 147, 26, 0.1);
}

.auth-modern .auth-input.is-invalid {
  border-color: #e74c3c;
}

.auth-modern .invalid-feedback {
  color: #e74c3c;
  font-size: 0.82rem;
  margin-top: 0.4rem;
  display: block;
}

.auth-modern .auth-field {
  margin-bottom: 1.5rem;
}

.auth-modern .auth-field-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.auth-modern .auth-forgot {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 0.25s ease;
}

.auth-modern .auth-forgot:hover {
  color: var(--gold-light);
}

.auth-modern .auth-submit {
  width: 100%;
  padding: 0.9rem;
  background: linear-gradient(135deg, var(--gold), #e8870e);
  border: none;
  border-radius: 50rem;
  color: var(--bg-deep);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(247, 147, 26, 0.25);
  position: relative;
  overflow: hidden;
}

.auth-modern .auth-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(247, 147, 26, 0.35);
}

.auth-modern .auth-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.auth-modern .auth-submit .spinner-border {
  width: 1rem;
  height: 1rem;
  border-width: 2px;
  color: var(--bg-deep);
}

.auth-modern .auth-cancel {
  padding: 0.85rem 2rem;
  background: transparent;
  border: 1.5px solid var(--border-subtle);
  border-radius: 50rem;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.auth-modern .auth-cancel:hover {
  border-color: var(--text-muted);
  color: var(--text-primary);
}

.auth-modern .auth-footer {
  padding: 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.auth-modern .auth-footer a {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  margin: 0 0.8rem;
  transition: color 0.25s ease;
}

.auth-modern .auth-footer a:hover {
  color: var(--gold);
}

.auth-modern .alert-success {
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.2);
  color: #2ecc71;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
}

/* Password strength meter */
.auth-modern .pw-meter {
  display: flex;
  gap: 0.3rem;
  margin-top: 0.6rem;
  margin-bottom: 0.5rem;
}

.auth-modern .pw-meter-bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease;
}

.auth-modern .pw-hint {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Password visibility toggle */
.auth-modern .pw-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  font-size: 1.1rem;
  transition: color 0.25s ease;
}

.auth-modern .pw-toggle:hover {
  color: var(--text-secondary);
}
