/* ==========================================================================
   Siri Gold & Diamonds - Luxury Authentication Design System
   Exact Mockup Layout (Desktop Dual-Panel + Mobile App Sheet)
   Theme: Luxury Royal Maroon, Crimson Ruby, Rich Gold & Crisp White
   Animated Background: Gold & Diamond Particles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

:root {
  --primary-deep: #1b0307;
  --primary-dark: #3a0610;
  --primary-maroon: #680a1d;
  --primary-ruby: #8f0822;
  --primary-crimson: #b31432;
  --primary-bright: #c41e3a;
  
  --gold-light: #fff3c4;
  --gold-main: #d4af37;
  --gold-rich: #ffd700;
  --gold-dark: #aa820a;
  --gold-gradient: linear-gradient(135deg, #ffd700 0%, #d4af37 50%, #aa820a 100%);
  
  --card-bg: #ffffff;
  --input-bg: #ffffff;
  --input-border: #e2d1d7;
  --input-focus-border: #8f0822;
  --text-dark: #201c1d;
  --text-muted: #6f6769;
  
  --radius-card: 24px;
  --radius-pill: 50px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

body.auth-body {
  margin: 0;
  padding: 30px 15px;
  min-height: 100vh;
  background: 
    radial-gradient(circle at 50% 25%, rgba(255, 255, 255, 0.72) 0%, rgba(250, 246, 240, 0.88) 55%, rgba(240, 230, 218, 0.95) 100%),
    url('../images/luxury_light_bg.jpg') center center / cover no-repeat fixed;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
}

/* Background Ambient Lighting Orbs */
body.auth-body::before,
body.auth-body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  animation: floatOrb 9s ease-in-out infinite alternate;
}

body.auth-body::before {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(255, 215, 0, 0.12) 60%, transparent 100%);
  top: -60px;
  left: -60px;
}

body.auth-body::after {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(143, 8, 34, 0.16) 0%, rgba(212, 175, 55, 0.14) 60%, transparent 100%);
  bottom: -80px;
  right: -80px;
  animation-delay: -4.5s;
}

@keyframes floatOrb {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(25px) scale(1.06); }
}

.auth-container {
  width: 100%;
  max-width: 1040px;
  margin: auto;
  position: relative;
  z-index: 1;
}

.auth-container.register-mode {
  max-width: 1240px;
}

/* Main Dual-Panel Card - Full Stretch Without Gaps */
.auth-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  box-shadow: 0 20px 60px rgba(90, 8, 24, 0.14), 0 4px 20px rgba(0, 0, 0, 0.05), 0 0 0 1.5px rgba(212, 175, 55, 0.35);
  display: flex;
  align-items: stretch; /* Stretches both panels to 100% equal height */
  overflow: hidden;
  position: relative;
}

/* -------------------------------------------------------------
   LEFT BRANDING PANEL (Full Image Banner with Logo & Content)
   ------------------------------------------------------------- */
.auth-banner-panel {
  flex: 0 0 42%;
  max-width: 42%;
  background: #180206;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  position: relative;
  overflow: hidden;
  align-self: stretch;
  min-height: 100%;
}

.auth-container.register-mode .auth-banner-panel {
  flex: 0 0 35%;
  max-width: 35%;
  padding: 0;
  align-self: stretch;
  min-height: 100%;
  height: auto;
  position: relative;
}

.auth-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.auth-card:hover .auth-banner-img {
  transform: scale(1.04);
}

/* Banner Luxury Glass Overlay with Logo and Content */
.auth-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg, 
    rgba(27, 3, 7, 0.45) 0%, 
    rgba(27, 3, 7, 0.18) 32%, 
    rgba(30, 4, 8, 0.72) 68%, 
    rgba(18, 2, 5, 0.94) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 26px;
  color: #ffffff;
  z-index: 2;
  box-sizing: border-box;
}

.auth-banner-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  width: 100%;
}

/* Logo Box Container */
.auth-banner-logo-wrap {
  background: rgba(255, 255, 255, 0.97);
  border: 1.5px solid rgba(212, 175, 55, 0.65);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35), 0 0 20px rgba(212, 175, 55, 0.25);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: var(--transition);
}

.auth-banner-logo-wrap:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 25px rgba(212, 175, 55, 0.4);
}

.auth-banner-logo {
  width: 100%;
  max-width: 240px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  display: block;
}

/* Text & Features at bottom of banner */
.auth-banner-text {
  margin-top: auto;
  padding-top: 20px;
}

.auth-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.24);
  border: 1px solid rgba(212, 175, 55, 0.6);
  color: #fff3c4;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 10px;
  backdrop-filter: blur(6px);
}

.auth-banner-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.auth-banner-desc {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
  margin: 0 0 14px 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.auth-banner-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  padding-top: 12px;
}

.banner-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #fff6d9;
}

.banner-feature-item i {
  color: #ffd700;
  font-size: 12px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.6));
}

/* -------------------------------------------------------------
   RIGHT FORM PANEL (Clean White Luxury Container)
   ------------------------------------------------------------- */
.auth-form-panel {
  flex: 0 0 62%;
  max-width: 62%;
  padding: 40px 45px;
  background: #ffffff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.auth-container.register-mode .auth-form-panel {
  flex: 0 0 68%;
  max-width: 68%;
  padding: 35px 40px;
  overflow: visible;
  max-height: none;
}

/* Form Header */
.auth-header {
  margin-bottom: 20px;
}

.auth-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-ruby);
  margin: 0 0 5px 0;
  line-height: 1.2;
}

.auth-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
  font-weight: 400;
}

/* Section Box Header */
.auth-section-divider {
  background: linear-gradient(90deg, #fbf0f3 0%, #ffffff 100%);
  border-left: 4px solid var(--primary-ruby);
  padding: 8px 14px;
  border-radius: 0 10px 10px 0;
  margin: 18px 0 14px 0;
}

.auth-section-divider h4 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primary-ruby);
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
}

/* Pill Input Groups with Left Icons */
.auth-input-group {
  position: relative;
  margin-bottom: 14px;
  width: 100%;
}

.auth-input-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #4a4244;
  margin-bottom: 4px;
  padding-left: 12px;
}

.auth-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-icon {
  position: absolute;
  left: 16px;
  color: #a5969b;
  font-size: 14px;
  pointer-events: none;
  transition: var(--transition);
  z-index: 2;
}

.auth-input-pill {
  width: 100%;
  height: 44px;
  background: #ffffff;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-pill);
  padding: 0 18px 0 44px;
  font-size: 13.5px;
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.auth-input-pill:focus {
  border-color: var(--primary-ruby);
  box-shadow: 0 0 0 3.5px rgba(143, 8, 34, 0.12);
  background: #ffffff;
}

.auth-input-pill:focus + .auth-input-icon,
.auth-input-wrapper:focus-within .auth-input-icon {
  color: var(--primary-ruby);
}

.auth-input-pill::placeholder {
  color: #b5a8ad;
  font-size: 13px;
  font-weight: 400;
}

/* Password Eye Toggle */
.auth-eye-toggle {
  position: absolute;
  right: 16px;
  color: #8c8184;
  font-size: 14px;
  cursor: pointer;
  z-index: 3;
  padding: 6px;
  transition: var(--transition);
}

.auth-eye-toggle:hover {
  color: var(--primary-ruby);
  transform: scale(1.1);
}

/* Select & Textarea overrides */
select.auth-input-pill {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f0822' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
  padding-right: 38px;
  cursor: pointer;
}

textarea.auth-input-pill {
  height: auto;
  min-height: 60px;
  border-radius: 18px;
  padding: 10px 16px 10px 44px;
  resize: vertical;
}

/* Grid System for 2-column inputs */
.auth-grid-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -7px;
}

.auth-grid-col-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 7px;
}

.auth-grid-col-12 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 7px;
}

/* Checkbox & Options */
.auth-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 4px 20px 4px;
  font-size: 13px;
}

.auth-checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  color: #554e50;
  font-size: 13px;
}

.auth-checkbox-wrap input[type="checkbox"],
.auth-checkbox-wrap input[type="radio"] {
  accent-color: var(--primary-ruby);
  width: 16px;
  height: 16px;
  cursor: pointer;
  margin: 0;
}

.auth-link {
  color: var(--primary-ruby) !important;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.auth-link:hover {
  color: var(--primary-crimson) !important;
  text-decoration: underline;
}

/* Gradient Pill Submit Button */
.auth-submit-btn {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #30060e 0%, #6b0a1d 45%, #9e142e 100%);
  border: none;
  border-radius: var(--radius-pill);
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(143, 8, 34, 0.4);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  margin-top: 6px;
}

.auth-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(143, 8, 34, 0.55);
  background: linear-gradient(135deg, #420813 0%, #7d0d23 45%, #b81736 100%);
}

.auth-submit-btn:active {
  transform: translateY(0);
}

/* Bottom Switch Footer */
.auth-bottom-footer {
  margin-top: 20px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-muted);
}

.auth-home-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  color: #6d6467 !important;
  text-decoration: none;
  transition: var(--transition);
}

.auth-home-link:hover {
  color: var(--primary-ruby) !important;
}

/* -------------------------------------------------------------
   PROMO MODAL (App Download Dialog)
   ------------------------------------------------------------- */
.promoModal .modal-dialog {
  max-width: 420px !important;
  margin: 40px auto !important;
  z-index: 1050;
}

.promo-card {
  border-radius: 24px !important;
  overflow: hidden !important;
  border: none !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5) !important;
  background: #ffffff !important;
}

.promo-header {
  background: linear-gradient(135deg, #1b0307 0%, #5e091a 100%) !important;
  padding: 20px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  position: relative !important;
}

.promo-header .logo-img {
  max-width: 150px !important;
  width: 150px !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3)) !important;
}

.promoModal .modal-body {
  padding: 25px 22px !important;
  text-align: center !important;
}

.promoModal .app-logo {
  max-width: 120px !important;
  width: 120px !important;
  height: auto !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
  margin-bottom: 14px !important;
  object-fit: contain !important;
}

.promoModal h4 {
  font-family: 'Playfair Display', serif !important;
  font-weight: 700 !important;
  color: var(--primary-ruby) !important;
  font-size: 19px !important;
  margin-bottom: 8px !important;
}

.promoModal p.text-muted {
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: #73696c !important;
  margin-bottom: 20px !important;
}

.promoModal .btn-success {
  background: linear-gradient(135deg, #1e7e34 0%, #28a745 100%) !important;
  border: none !important;
  border-radius: var(--radius-pill) !important;
  padding: 12px 20px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  transition: var(--transition) !important;
  margin-bottom: 10px !important;
}

.promoModal .btn-outline-danger {
  border-radius: var(--radius-pill) !important;
  padding: 6px 16px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: var(--primary-ruby) !important;
  border: 1.5px solid var(--primary-ruby) !important;
  background: transparent !important;
  transition: var(--transition) !important;
}

/* -------------------------------------------------------------
   MOBILE VIEW (App-Sheet Style for Screens <= 868px)
   ------------------------------------------------------------- */
.mobile-top-header {
  display: none;
}

@media (max-width: 868px) {
  body.auth-body {
    padding: 0 !important;
    margin: 0 !important;
    min-height: 100vh;
    display: block !important;
    width: 100% !important;
    background: #ffffff !important;
  }

  .auth-container,
  .auth-container.register-mode {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .auth-card {
    display: flex !important;
    flex-direction: column !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .auth-banner-panel {
    display: none !important;
  }

  .mobile-top-header {
    display: block !important;
    padding: 0 !important;
    width: 100% !important;
    height: 185px !important;
    overflow: hidden !important;
    position: relative !important;
    background: #180206 !important;
  }

  .mobile-banner-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 25% !important;
    display: block !important;
  }

  .mobile-header-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, rgba(20,2,5,0.42) 0%, rgba(20,2,5,0.88) 100%) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px 12px !important;
    text-align: center !important;
    z-index: 2 !important;
  }

  .mobile-logo-img {
    max-height: 40px !important;
    max-width: 220px !important;
    background: rgba(255,255,255,0.98) !important;
    padding: 6px 16px !important;
    border-radius: 12px !important;
    border: 1.5px solid rgba(212,175,55,0.65) !important;
    box-shadow: 0 4px 18px rgba(0,0,0,0.35) !important;
    margin-bottom: 6px !important;
  }

  .mobile-header-tagline {
    color: #fff3c4 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
  }

  .auth-form-panel,
  .auth-container.register-mode .auth-form-panel {
    flex: 1 1 auto !important;
    max-width: 100% !important;
    width: 100% !important;
    background: #ffffff !important;
    border-radius: 28px 28px 0 0 !important;
    margin-top: -22px !important;
    padding: 28px 20px 36px 20px !important;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.12) !important;
    position: relative !important;
    z-index: 5 !important;
    min-height: calc(100vh - 165px) !important;
    max-height: none !important;
    overflow-y: visible !important;
  }

  .auth-grid-row {
    margin: 0 !important;
  }

  .auth-grid-col-6,
  .auth-grid-col-12 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .auth-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--primary-ruby) !important;
    text-align: center !important;
    margin-bottom: 4px !important;
  }

  .auth-subtitle {
    font-size: 13px !important;
    color: var(--text-muted) !important;
    text-align: center !important;
    margin-bottom: 22px !important;
  }

  .auth-input-pill {
    height: 48px !important;
    font-size: 14px !important;
    border-radius: 50px !important;
  }

  .auth-options-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 12px 0 20px 0 !important;
    font-size: 13px !important;
  }

  .auth-submit-btn {
    height: 48px !important;
    border-radius: 50px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    width: 100% !important;
  }
}

/* -------------------------------------------------------------
   THANK YOU / SUCCESS PAGE DESIGN
   ------------------------------------------------------------- */
.auth-container.thankyou-mode {
  max-width: 680px;
}

.thankyou-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: 0 20px 60px rgba(90, 8, 24, 0.14), 0 4px 20px rgba(0, 0, 0, 0.05), 0 0 0 1.5px rgba(212, 175, 55, 0.35);
  overflow: hidden;
  position: relative;
}

.thankyou-header-banner {
  background: linear-gradient(145deg, #180206 0%, #3a0610 35%, #6d0a1d 75%, #8f0822 100%);
  padding: 38px 25px 30px 25px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.thankyou-header-banner .deco-shape {
  position: absolute;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(212, 175, 55, 0.08) 100%);
  pointer-events: none;
  transform: rotate(-35deg);
}

.thankyou-header-banner .shape-1 {
  width: 220px;
  height: 40px;
  top: -15px;
  left: -40px;
}

.thankyou-header-banner .shape-2 {
  width: 260px;
  height: 50px;
  top: 40px;
  right: -60px;
}

.thankyou-logo {
  width: auto;
  max-width: 230px;
  height: 50px;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid rgba(212, 175, 55, 0.65);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  margin-bottom: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.thankyou-logo img {
  max-width: 100%;
  max-height: 38px;
  object-fit: contain;
}

.success-check-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
  color: #1b0307;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 12px;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.5), 0 6px 15px rgba(0, 0, 0, 0.3);
  animation: pulseCheck 2s infinite alternate;
}

@keyframes pulseCheck {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); box-shadow: 0 0 35px rgba(255, 215, 0, 0.8), 0 8px 20px rgba(0, 0, 0, 0.4); }
}

.thankyou-title {
  font-family: 'Cinzel', serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.thankyou-title span {
  color: var(--gold-rich);
}

.thankyou-subtitle {
  font-size: 13.5px;
  color: rgba(255, 243, 196, 0.9);
  margin: 0;
}

.thankyou-body {
  padding: 30px 35px 35px 35px;
  background: #ffffff;
}

.thankyou-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #ebd9de;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.thankyou-table tr {
  transition: var(--transition);
}

.thankyou-table tr:nth-child(even) {
  background: #fdf7f9;
}

.thankyou-table tr:nth-child(odd) {
  background: #ffffff;
}

.thankyou-table tr:not(:last-child) td,
.thankyou-table tr:not(:last-child) th {
  border-bottom: 1px solid #ebd9de;
}

.thankyou-table th {
  padding: 13px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary-ruby);
  width: 40%;
  text-align: left;
  background: rgba(143, 8, 34, 0.04);
}

.thankyou-table td {
  padding: 13px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: #2b2527;
}

.thankyou-table td .highlight-val {
  color: var(--primary-ruby);
  font-weight: 700;
}

.thankyou-btn-group {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.thankyou-btn-primary {
  flex: 1;
  height: 48px;
  background: linear-gradient(135deg, #30060e 0%, #6b0a1d 45%, #9e142e 100%);
  border-radius: var(--radius-pill);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none !important;
  box-shadow: 0 8px 25px rgba(143, 8, 34, 0.35);
  transition: var(--transition);
}

.thankyou-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(143, 8, 34, 0.5);
  background: linear-gradient(135deg, #420813 0%, #7d0d23 45%, #b81736 100%);
}

.thankyou-btn-secondary {
  flex: 1;
  height: 48px;
  background: #ffffff;
  border: 1.5px solid var(--primary-ruby);
  border-radius: var(--radius-pill);
  color: var(--primary-ruby) !important;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none !important;
  transition: var(--transition);
}

.thankyou-btn-secondary:hover {
  background: rgba(143, 8, 34, 0.06);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .thankyou-body {
    padding: 22px 18px;
  }
  .thankyou-btn-group {
    flex-direction: column;
  }
}

/* -------------------------------------------------------------
   OTP VERIFICATION SPECIAL STYLES
   ------------------------------------------------------------- */
.otp-notice-box {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 13.5px;
  color: #5a4b12;
}

.otp-notice-box i {
  color: #aa820a;
  font-size: 20px;
}

.auth-btn-row {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.btn-secondary-pill {
  height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--primary-ruby);
  background: transparent;
  color: var(--primary-ruby) !important;
  font-weight: 700;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none !important;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary-pill:hover {
  background: rgba(143, 8, 34, 0.08);
  transform: translateY(-2px);
}

/* -------------------------------------------------------------
   6-BOX OTP DIGIT INPUTS (MATCHING SPECIFICATION SCREENSHOT)
   ------------------------------------------------------------- */
.otp-boxes-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 25px 0 14px 0;
}

.otp-digit-box {
  width: 50px;
  height: 54px;
  background: #ffffff;
  border: 1.5px solid #d5dae2;
  border-radius: 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1b0307;
  text-align: center;
  outline: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.otp-digit-box:focus {
  border-color: #8f0822;
  box-shadow: 0 0 0 3.5px rgba(143, 8, 34, 0.12);
  background: #ffffff;
  transform: translateY(-2px);
}

.otp-digit-box.filled {
  border-color: #8f0822;
  background: #fffcfd;
}

.otp-digit-box::placeholder {
  color: #c5cbd5;
  font-weight: 600;
  opacity: 0.7;
}

/* Timer and Resend Row directly beneath OTP boxes */
.otp-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 380px;
  margin: 0 auto 24px auto;
  font-size: 13px;
  color: #64748b;
  padding: 0 4px;
}

.otp-timer-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}

.otp-timer-count {
  color: #8f0822;
  font-weight: 700;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.otp-resend-wrap {
  color: #64748b;
}

.otp-resend-link {
  color: #8f0822;
  font-weight: 700;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.otp-resend-link:hover {
  color: #d4af37;
  text-decoration: underline;
}

.otp-resend-link.disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .otp-boxes-container {
    gap: 8px;
  }
  .otp-digit-box {
    width: 42px;
    height: 48px;
    font-size: 19px;
    border-radius: 11px;
  }
  .otp-meta-row {
    font-size: 12px;
  }
}

/* -------------------------------------------------------------
   HIGHLIGHTED SAME-AS-ADDRESS BADGE
   ------------------------------------------------------------- */
.same-address-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, rgba(143, 8, 34, 0.08) 0%, rgba(212, 175, 55, 0.14) 100%);
  border: 1.5px solid rgba(143, 8, 34, 0.3);
  border-radius: 20px;
  padding: 3px 12px 3px 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-ruby);
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
  box-shadow: 0 2px 6px rgba(143, 8, 34, 0.04);
}

.same-address-badge:hover {
  background: linear-gradient(135deg, rgba(143, 8, 34, 0.14) 0%, rgba(212, 175, 55, 0.22) 100%);
  border-color: var(--primary-ruby);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(143, 8, 34, 0.1);
}

.same-address-badge input[type="checkbox"] {
  accent-color: var(--primary-ruby);
  width: 15px;
  height: 15px;
  cursor: pointer;
  margin: 0;
}

.same-address-badge .badge-text i {
  color: #aa820a;
  font-size: 11px;
  margin-right: 2px;
}

/* =============================================================
   LUXURY HORIZONTAL 4-STEP WIZARD (Left to Right)
   ============================================================= */
.auth-container.register-single-card {
  max-width: 900px;
  margin: 30px auto 50px auto;
  padding: 0 15px;
}

.auth-card-single {
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(90, 8, 24, 0.12), 0 4px 20px rgba(0, 0, 0, 0.05), 0 0 0 1.5px rgba(212, 175, 55, 0.38);
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .auth-container.register-single-card {
    margin: 15px auto;
    padding: 0 10px;
  }
  .auth-card-single {
    padding: 28px 18px;
    border-radius: 20px;
  }
}

.register-top-brand {
  text-align: center !important;
  margin-bottom: 25px !important;
  padding-bottom: 20px !important;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.25) !important;
}

.register-brand-logo-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  padding: 10px 24px !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 18px rgba(143, 8, 34, 0.08) !important;
  border: 1.5px solid rgba(212, 175, 55, 0.4) !important;
  margin-bottom: 12px !important;
}

.register-brand-logo {
  height: 46px !important;
  max-width: 230px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
}

.register-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 27px !important;
  font-weight: 700 !important;
  color: var(--primary-ruby) !important;
  margin: 0 0 6px 0 !important;
}

.register-subtitle {
  font-size: 13.5px !important;
  color: var(--text-muted) !important;
  margin: 0 !important;
}

/* Horizontal Stepper Progress Bar (Left-to-Right layout) */
.auth-wizard-stepper-wrap {
  position: relative !important;
  width: 100% !important;
  max-width: 740px !important;
  margin: 10px auto 35px auto !important;
  padding: 0 10px !important;
  box-sizing: border-box !important;
}

.stepper-track-bar {
  position: absolute !important;
  top: 20px !important;
  left: 12% !important;
  right: 12% !important;
  height: 3.5px !important;
  background: #e8dbe0 !important;
  border-radius: 4px !important;
  z-index: 1 !important;
}

.stepper-track-fill {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  height: 100% !important;
  width: 0% !important;
  background: linear-gradient(90deg, #1e824c 0%, #d4af37 60%, #ffd700 100%) !important;
  border-radius: 4px !important;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6) !important;
}

.auth-wizard-progress {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  position: relative !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  z-index: 2 !important;
}

.wizard-step-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  z-index: 2 !important;
  text-align: center !important;
  cursor: pointer !important;
  flex: 1 1 0px !important;
  min-width: 0 !important;
}

.wizard-step-circle {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 2px solid #d4c5ca !important;
  color: #8c8184 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05) !important;
  margin-bottom: 7px !important;
}

.wizard-step-circle .step-check {
  display: none !important;
}

.wizard-step-label {
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #7a7073 !important;
  transition: all 0.3s ease !important;
  white-space: nowrap !important;
  text-align: center !important;
}

.wizard-step-sublabel {
  font-size: 11px !important;
  color: #9c8e93 !important;
  margin-top: 2px !important;
  font-weight: 500 !important;
  display: block !important;
}

/* Active Step State */
.wizard-step-item.active .wizard-step-circle {
  background: linear-gradient(135deg, #1b0307 0%, #5a0818 50%, #8f0822 100%) !important;
  border-color: #ffd700 !important;
  color: #ffd700 !important;
  transform: scale(1.12) !important;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.28), 0 6px 18px rgba(143, 8, 34, 0.35) !important;
}

.wizard-step-item.active .wizard-step-label {
  color: var(--primary-ruby) !important;
  font-weight: 800 !important;
}

.wizard-step-item.active .wizard-step-sublabel {
  color: #aa820a !important;
  font-weight: 700 !important;
}

/* Completed Step State */
.wizard-step-item.completed .wizard-step-circle {
  background: linear-gradient(135deg, #1e824c 0%, #27ae60 100%) !important;
  border-color: #1e824c !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(30, 130, 76, 0.3) !important;
}

.wizard-step-item.completed .wizard-step-circle .step-num {
  display: none !important;
}

.wizard-step-item.completed .wizard-step-circle .step-check {
  display: block !important;
  font-size: 15px !important;
}

.wizard-step-item.completed .wizard-step-label {
  color: #1e824c !important;
  font-weight: 700 !important;
}

/* Strict Step Pane Visibility */
.wizard-step-pane {
  display: none !important;
}

.wizard-step-pane.active {
  display: block !important;
  animation: stepFadeIn 0.35s ease-in-out !important;
}

@keyframes stepFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Step Header */
.step-pane-header {
  margin-bottom: 22px !important;
  border-left: 4px solid var(--primary-ruby) !important;
  padding-left: 14px !important;
}

.step-pane-header h3 {
  font-family: 'Playfair Display', serif !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  color: var(--primary-ruby) !important;
  margin: 0 0 3px 0 !important;
}

.step-pane-header p {
  font-size: 13px !important;
  color: var(--text-muted) !important;
  margin: 0 !important;
}

/* Step Error Alert Banner */
.step-error-banner {
  display: none;
  background: #fdf0f2;
  border: 1.5px solid #f8cbd3;
  border-radius: 12px;
  padding: 10px 16px;
  color: #c41e3a;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  align-items: center;
  gap: 8px;
  animation: stepFadeIn 0.25s ease;
}

.step-error-banner.show {
  display: flex !important;
}

/* Field Invalid Highlight */
.field-invalid-border {
  border-color: #c41e3a !important;
  background: #fff8f8 !important;
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.15) !important;
}

/* Sponsor Verification Box */
.sponsor-verify-row {
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
}

.sponsor-verify-row .auth-input-wrapper {
  flex: 1 !important;
}

.btn-sponsor-verify {
  height: 48px !important;
  padding: 0 24px !important;
  min-width: 120px !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #1b0307 0%, #680a1d 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(212, 175, 55, 0.4) !important;
  border-radius: var(--radius-pill) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  transition: var(--transition) !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 12px rgba(104, 10, 29, 0.25) !important;
}

.btn-sponsor-verify:hover {
  background: linear-gradient(135deg, #30060e 0%, #8f0822 100%) !important;
  border-color: #ffd700 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(104, 10, 29, 0.35) !important;
}

.btn-sponsor-verify.is-loading {
  background: linear-gradient(135deg, #35050e 0%, #540816 100%) !important;
  border-color: #d4af37 !important;
  color: #ffd700 !important;
  cursor: wait !important;
  pointer-events: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

.btn-sponsor-verify.is-verified {
  background: linear-gradient(135deg, #166534 0%, #15803d 45%, #22c55e 100%) !important;
  border-color: #4ade80 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.45) !important;
  animation: fuljhadiPop 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

@keyframes fuljhadiPop {
  0% {
    transform: scale(0.92);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.8), 0 0 25px rgba(255, 215, 0, 0.9);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 0 14px rgba(34, 197, 94, 0), 0 0 40px rgba(255, 215, 0, 1);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.45);
  }
}

.btn-sponsor-verify.is-verified:hover {
  background: linear-gradient(135deg, #14532d 0%, #166534 45%, #16a34a 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.55) !important;
}

.sponsor-success-msg,
.verified-sponsor-badge {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%) !important;
  border: 1.5px solid #86efac !important;
  border-radius: 14px !important;
  padding: 12px 18px !important;
  margin-top: 10px !important;
  color: #15803d !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.15), 0 0 0 1px rgba(134, 239, 172, 0.5) !important;
  animation: stepFadeIn 0.3s ease-in-out !important;
}

.sponsor-success-msg i,
.verified-sponsor-badge i {
  font-size: 20px !important;
  color: #16a34a !important;
  flex-shrink: 0 !important;
}

.sponsor-error-msg {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: #fef2f2 !important;
  border: 1.5px solid #fecaca !important;
  border-radius: 12px !important;
  padding: 10px 16px !important;
  margin-top: 10px !important;
  color: #b91c1c !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  animation: stepFadeIn 0.3s ease !important;
}

.sponsor-error-msg i {
  color: #dc2626 !important;
  font-size: 18px !important;
  flex-shrink: 0 !important;
}

/* Wizard Button Navigation Row */
.wizard-btn-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 15px !important;
  margin-top: 28px !important;
  padding-top: 20px !important;
  border-top: 1px solid #f0e6e9 !important;
  width: 100% !important;
}

.btn-wizard-prev {
  height: 48px !important;
  padding: 0 24px !important;
  background: #ffffff !important;
  border: 1.5px solid #d4c5ca !important;
  color: #685a5f !important;
  border-radius: 50px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.25s ease !important;
}

.btn-wizard-prev:hover {
  background: #fdf5f7 !important;
  border-color: var(--primary-ruby) !important;
  color: var(--primary-ruby) !important;
  transform: translateX(-2px) !important;
}

.btn-wizard-next {
  height: 48px !important;
  padding: 0 30px !important;
  background: linear-gradient(135deg, #1b0307 0%, #6b0a1d 45%, #9e142e 100%) !important;
  border: 1.5px solid rgba(212, 175, 55, 0.4) !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 6px 20px rgba(143, 8, 34, 0.35) !important;
  margin-left: auto !important;
}

.btn-wizard-next:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px rgba(143, 8, 34, 0.45) !important;
  background: linear-gradient(135deg, #30060e 0%, #7d0d23 45%, #b81736 100%) !important;
  border-color: #ffd700 !important;
}

/* Step 4: Terms & Conditions Trigger Card */
.terms-trigger-card {
  background: linear-gradient(135deg, #fffcfd 0%, #fdf5f7 100%) !important;
  border: 1.5px solid #ebd9de !important;
  border-radius: 18px !important;
  padding: 18px 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  transition: var(--transition) !important;
  margin: 14px 0 18px 0 !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.02) !important;
}

.terms-trigger-card:hover {
  border-color: var(--primary-ruby) !important;
  background: #ffffff !important;
  box-shadow: 0 8px 25px rgba(143, 8, 34, 0.09) !important;
  transform: translateY(-1px) !important;
}

.terms-trigger-left {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.terms-trigger-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 14px !important;
  background: rgba(143, 8, 34, 0.08) !important;
  color: var(--primary-ruby) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  flex-shrink: 0 !important;
}

.terms-trigger-text h5 {
  margin: 0 0 2px 0 !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #2b2225 !important;
}

.terms-trigger-text p {
  margin: 0 !important;
  font-size: 12.5px !important;
  color: #7a6e72 !important;
}

.terms-status-badge {
  padding: 7px 16px !important;
  border-radius: 50px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: var(--transition) !important;
}

.terms-status-badge.pending {
  background: #fff3c4 !important;
  color: #8a6800 !important;
  border: 1px solid #ffe17d !important;
}

.terms-status-badge.accepted {
  background: #eaf8f0 !important;
  color: #1e824c !important;
  border: 1px solid #a3e6c0 !important;
}

/* =============================================================
   NATIVE LUXURY TERMS MODAL POPUP
   ============================================================= */
.luxury-terms-modal-overlay {
  display: none;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(15, 3, 6, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 99999 !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  box-sizing: border-box !important;
}

.luxury-terms-modal-overlay.open {
  display: flex !important;
  animation: modalFadeIn 0.3s ease-out !important;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.luxury-terms-modal-box {
  background: #ffffff !important;
  max-width: 620px !important;
  width: 100% !important;
  border-radius: 24px !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45), 0 0 0 1.5px rgba(212, 175, 55, 0.4) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  max-height: 88vh !important;
}

.luxury-modal-header {
  background: linear-gradient(135deg, #1b0307 0%, #3a0610 50%, #680a1d 100%) !important;
  color: #ffffff !important;
  padding: 18px 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.luxury-modal-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.luxury-modal-title i {
  color: #ffd700 !important;
}

.luxury-modal-close-btn {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 26px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  opacity: 0.8 !important;
  transition: all 0.2s ease !important;
}

.luxury-modal-close-btn:hover {
  opacity: 1 !important;
  transform: scale(1.15) !important;
}

.luxury-modal-notice {
  background: #fff9e6 !important;
  border-bottom: 1px solid #f2e2b6 !important;
  padding: 10px 20px !important;
  font-size: 12.5px !important;
  color: #856404 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

.luxury-modal-body {
  padding: 22px 24px !important;
  overflow-y: scroll !important;
  flex: 1 1 auto !important;
  font-size: 13.5px !important;
  line-height: 1.65 !important;
  color: #4a4043 !important;
}

.luxury-modal-body h4 {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: var(--primary-ruby) !important;
  margin: 16px 0 6px 0 !important;
}

.luxury-modal-body p,
.luxury-modal-body ul {
  margin: 0 0 12px 0 !important;
}

.luxury-modal-body ul {
  padding-left: 20px !important;
}

.luxury-modal-footer {
  padding: 16px 24px !important;
  background: #fdfafb !important;
  border-top: 1px solid #ebd9de !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-shrink: 0 !important;
}

.btn-terms-accept {
  height: 46px !important;
  padding: 0 26px !important;
  background: linear-gradient(135deg, #1e824c 0%, #27ae60 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--radius-pill) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: var(--transition) !important;
  box-shadow: 0 6px 18px rgba(39, 174, 96, 0.3) !important;
}

.btn-terms-accept:disabled {
  background: #b5c2ba !important;
  color: #ffffff !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  opacity: 0.65 !important;
}

.btn-terms-accept:not(:disabled):hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px rgba(39, 174, 96, 0.45) !important;
}

.address-section-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  background: linear-gradient(135deg, #fdf8f9 0%, #fefcfd 100%) !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  border-left: 4px solid var(--primary-ruby) !important;
  border-radius: 12px !important;
  padding: 10px 16px !important;
  margin-top: 14px !important;
  margin-bottom: 16px !important;
  width: 100% !important;
}

.address-section-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--primary-ruby) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.address-section-title i {
  color: #d4af37 !important;
  font-size: 16px !important;
}

/* Green state when filled with a digit for Mobile & OTP Boxes */
.mobile-digit-box.filled,
.otp-digit-box.filled {
  border-color: #1e824c !important;
  background: #f2faf5 !important;
  color: #1e824c !important;
  box-shadow: 0 2px 8px rgba(30, 130, 76, 0.15) !important;
}

.mobile-digit-box.filled:focus,
.otp-digit-box.filled:focus {
  background: #ffffff !important;
  border-color: #1e824c !important;
  box-shadow: 0 0 0 3.5px rgba(30, 130, 76, 0.22), 0 4px 12px rgba(30, 130, 76, 0.18) !important;
  transform: translateY(-2px) !important;
}

/* ==========================================================================
   COMPREHENSIVE ALL-DEVICE RESPONSIVE MEDIA QUERIES (320px to 1200px)
   ========================================================================== */

/* Tablets and Below (<= 768px) */
@media (max-width: 768px) {
  /* Standalone Register & Thank You Pages on Tablet/Mobile */
  body.auth-body:has(.register-single-container),
  body.auth-body:has(.thankyou-mode) {
    padding: 12px 8px !important;
    background: #fbf7f2 url('../images/luxury_light_bg.jpg') no-repeat center center fixed !important;
    background-size: cover !important;
  }

  .register-single-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }

  .register-luxury-card {
    padding: 24px 16px 28px 16px !important;
    border-radius: 20px !important;
    border: 1.5px solid rgba(212, 175, 55, 0.35) !important;
    box-shadow: 0 10px 35px rgba(90, 8, 24, 0.1) !important;
  }

  .auth-container.thankyou-mode {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  .thankyou-card {
    border-radius: 20px !important;
    border: 1.5px solid rgba(212, 175, 55, 0.35) !important;
    box-shadow: 0 10px 35px rgba(90, 8, 24, 0.12) !important;
    overflow: hidden !important;
    padding: 0 !important;
  }

  .form-grid-col-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* Mobile Screens (<= 576px) */
@media (max-width: 576px) {
  .register-luxury-card {
    padding: 20px 14px 26px 14px !important;
    border-radius: 18px !important;
  }

  .register-header-title {
    font-size: 21px !important;
  }

  .register-header-subtitle {
    font-size: 12px !important;
  }

  .register-logo-badge {
    padding: 8px 16px !important;
    border-radius: 14px !important;
    margin-bottom: 8px !important;
  }

  .register-logo-badge img {
    height: 38px !important;
    max-width: 180px !important;
  }

  /* Horizontal Stepper Mobile Adaptation (No Text Overlap) */
  .horizontal-stepper-wrap {
    padding: 0 4px !important;
    margin: 8px auto 22px auto !important;
  }

  .stepper-bg-bar {
    top: 17px !important;
    left: 8% !important;
    right: 8% !important;
    height: 3px !important;
  }

  .step-pill-circle {
    width: 34px !important;
    height: 34px !important;
    font-size: 12px !important;
    border-width: 2px !important;
    margin-bottom: 4px !important;
  }

  .step-pill-subtitle {
    display: none !important;
  }

  .step-pill-title {
    font-size: 10.5px !important;
    font-weight: 700 !important;
    white-space: normal !important;
    max-width: 68px !important;
    line-height: 1.2 !important;
    word-break: break-word !important;
    text-align: center !important;
  }

  /* Wizard Buttons Row */
  .wizard-btn-row {
    gap: 10px !important;
    margin-top: 20px !important;
    padding-top: 15px !important;
  }

  .btn-wizard-prev {
    height: 44px !important;
    padding: 0 16px !important;
    font-size: 13px !important;
  }

  .btn-wizard-next,
  .auth-submit-btn {
    height: 46px !important;
    padding: 0 20px !important;
    font-size: 13.5px !important;
  }

  /* Terms Trigger Card Mobile Column Layout */
  .terms-trigger-card {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    padding: 16px 14px !important;
    border-radius: 14px !important;
  }

  .terms-trigger-left {
    width: 100% !important;
    gap: 12px !important;
    align-items: flex-start !important;
  }

  .terms-trigger-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 18px !important;
    border-radius: 10px !important;
  }

  .terms-trigger-text h5 {
    font-size: 13.5px !important;
  }

  .terms-trigger-text p {
    font-size: 11.5px !important;
  }

  .terms-trigger-action-wrap {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }

  .btn-terms-highlight {
    width: 100% !important;
    justify-content: center !important;
    padding: 10px 16px !important;
    font-size: 13.5px !important;
  }

  .terms-status-badge {
    width: 100% !important;
    justify-content: center !important;
    padding: 9px 16px !important;
    font-size: 13px !important;
  }

  /* Terms Modal Responsive */
  .luxury-terms-modal-overlay {
    padding: 12px !important;
  }

  .luxury-terms-modal-box {
    width: 100% !important;
    max-width: 520px !important;
    max-height: 90vh !important;
    border-radius: 20px !important;
  }

  .luxury-modal-header {
    padding: 14px 18px !important;
  }

  .luxury-modal-title {
    font-size: 16px !important;
  }

  .luxury-modal-close-btn {
    font-size: 22px !important;
  }

  .luxury-modal-notice {
    padding: 8px 14px !important;
    font-size: 11.5px !important;
    flex-wrap: wrap !important;
  }

  .luxury-modal-body {
    padding: 16px 18px !important;
    font-size: 13px !important;
  }

  .luxury-modal-footer {
    padding: 12px 18px !important;
    gap: 10px !important;
  }

  .btn-terms-accept {
    height: 42px !important;
    padding: 0 18px !important;
    font-size: 13px !important;
    flex: 1 !important;
    justify-content: center !important;
  }

  /* Thank you page responsive */
  .thankyou-header-banner {
    padding: 26px 16px 20px 16px !important;
  }

  .thankyou-logo {
    height: 42px !important;
    max-width: 190px !important;
    padding: 4px 12px !important;
    margin-bottom: 10px !important;
  }

  .thankyou-logo img {
    max-height: 32px !important;
  }

  .success-check-badge {
    width: 48px !important;
    height: 48px !important;
    font-size: 20px !important;
    margin-bottom: 10px !important;
  }

  .thankyou-title {
    font-size: 20px !important;
    line-height: 1.25 !important;
  }

  .thankyou-subtitle {
    font-size: 12px !important;
  }

  .thankyou-body {
    padding: 20px 14px 24px 14px !important;
  }

  .thankyou-table {
    margin-bottom: 20px !important;
    font-size: 12.5px !important;
  }

  .thankyou-table th {
    padding: 9px 10px !important;
    font-size: 12px !important;
    width: 44% !important;
  }

  .thankyou-table td {
    padding: 9px 10px !important;
    font-size: 12px !important;
    word-break: break-word !important;
  }

  .thankyou-btn-group {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .thankyou-btn-primary,
  .thankyou-btn-secondary {
    width: 100% !important;
    height: 44px !important;
    font-size: 13.5px !important;
    justify-content: center !important;
  }
}

/* Small Mobile Screens & DevTools 320px (<= 380px) */
@media (max-width: 380px) {
  body.auth-body:has(.register-single-container),
  body.auth-body:has(.thankyou-mode) {
    padding: 8px 4px !important;
  }

  .register-luxury-card {
    padding: 16px 10px 22px 10px !important;
    border-radius: 14px !important;
  }

  .auth-form-panel {
    padding: 22px 12px 28px 12px !important;
  }

  .auth-title {
    font-size: 19px !important;
  }

  .auth-subtitle {
    font-size: 11.5px !important;
  }

  /* Ultra-compact Stepper for 320px screens */
  .horizontal-stepper-wrap {
    padding: 0 !important;
    margin: 6px auto 16px auto !important;
  }

  .stepper-bg-bar {
    top: 14px !important;
    left: 6% !important;
    right: 6% !important;
    height: 2.5px !important;
  }

  .step-pill-circle {
    width: 28px !important;
    height: 28px !important;
    font-size: 11px !important;
    border-width: 1.5px !important;
    margin-bottom: 3px !important;
  }

  .step-pill-title {
    font-size: 8.5px !important;
    max-width: 50px !important;
    line-height: 1.1 !important;
  }

  /* 10-Digit Mobile Boxes for 320px Viewport */
  .mobile-digits-container {
    gap: 2px !important;
    max-width: 100% !important;
  }

  .mobile-digit-box {
    height: 38px !important;
    font-size: 14px !important;
    border-radius: 6px !important;
    min-width: 0 !important;
  }

  /* 6-Digit OTP Boxes for 320px Viewport */
  .otp-boxes-container {
    gap: 4px !important;
  }

  .otp-digit-box {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 42px !important;
    font-size: 17px !important;
    flex: 0 0 38px !important;
    border-radius: 8px !important;
  }

  .otp-meta-row {
    flex-direction: column !important;
    gap: 8px !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* Sponsor Verify Row Stacking on 320px */
  .sponsor-verify-row {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .sponsor-verify-row .auth-input-wrapper {
    width: 100% !important;
  }

  .btn-sponsor-verify {
    width: 100% !important;
    justify-content: center !important;
    height: 42px !important;
    border-radius: 50px !important;
  }

  /* Input fields compact padding on 320px */
  .auth-input-pill {
    height: 44px !important;
    font-size: 12.5px !important;
    padding-left: 40px !important;
    padding-right: 14px !important;
  }

  .auth-input-icon {
    left: 12px !important;
    font-size: 13.5px !important;
  }

  select.auth-input-pill {
    padding-left: 40px !important;
    padding-right: 30px !important;
    background-position: right 10px center !important;
  }
}





