/* ==========================================================================
   WedPerfect - Navigation Bar Stylesheet (navbar.css)
   ========================================================================== */

/* Clean, simple ampersand font fallback: overrides Playfair Display's ornate cursive '&' with a classic, elegant, legible ampersand */
@font-face {
  font-family: 'SimpleAmpersand';
  src: local('Georgia'), local('Times New Roman'), local('Palatino'), local('Baskerville');
  unicode-range: U+0026;
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SimpleAmpersand';
  src: local('Georgia'), local('Times New Roman'), local('Palatino'), local('Baskerville');
  unicode-range: U+0026;
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --nav-bg: rgba(248, 242, 231, 0.95);
  --nav-text: #2d2426;
  --nav-text-hover: #962846;
  --nav-primary: #962846;
  --nav-primary-hover: #7b1e37;
  --nav-gold: #c59b27;
  --nav-font-serif: 'SimpleAmpersand', 'Playfair Display', Georgia, serif;
  --nav-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

.wed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(197, 155, 39, 0.2);
  transition: all 0.3s ease;
}

body {
  padding-top: 77px;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 85px;
}

.wed-header.scrolled {
  box-shadow: 0 4px 20px rgba(78, 38, 48, 0.08);
}

.wed-nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Brand Logo */
.wed-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--nav-text);
  user-select: none;
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.wed-brand:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.wed-brand img,
.wed-brand .brand-logo-img,
a.wed-brand > img {
  height: 52px !important;
  width: auto !important;
  max-width: 250px !important;
  object-fit: contain !important;
  display: block !important;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand-icon {
  width: 44px;
  height: 44px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-icon svg,
.brand-icon img,
.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--nav-font-serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #231b1d;
  line-height: 1.1;
}

.brand-tagline {
  font-family: var(--nav-font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.8px;
  color: #8c767b;
  margin-top: 2px;
  text-transform: uppercase;
}

/* Navigation Menu */
.wed-nav-menu {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--nav-font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--nav-text);
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--nav-text-hover);
}

.nav-link.active {
  color: var(--nav-primary);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--nav-primary);
  border-radius: 2px;
}

/* Header CTA */
.wed-nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}


/* Login Removed - Only Registration */
.btn-nav-login,
.nav-menu-login-item,
.reg-modal-tabs,
#regTabLogin,
#regViewLogin,
.reg-modal-footer-text,
.login-role-selector,
.reg-login-form {
  display: none !important;
}

.btn-plan {
  background: var(--nav-primary);
  color: #ffffff;
  font-family: var(--nav-font-sans);
  font-size: 14px;
  font-weight: 600;
  height: 40px;
  box-sizing: border-box;
  padding: 0 22px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: 1.5px solid var(--nav-primary);
  box-shadow: 0 4px 12px rgba(150, 40, 70, 0.25);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}

.btn-plan:hover {
  background: var(--nav-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(150, 40, 70, 0.35);
}

/* Mobile Toggle Hamburger */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}

.nav-mobile-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--nav-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-mobile-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Responsive Nav */
@media (max-width: 1320px) {
  .wed-nav-container {
    padding-left: clamp(24px, 5.5vw, 64px);
    padding-right: clamp(24px, 5.5vw, 64px);
  }
}

@media (max-width: 1200px) {
  .wed-nav-menu {
    gap: clamp(16px, 2.2vw, 26px);
  }
}

@media (max-width: 992px) {
  .wed-nav-container {
    padding-left: clamp(16px, 4vw, 32px);
    padding-right: clamp(16px, 4vw, 32px);
    gap: 12px;
  }
  .wed-brand {
    flex-shrink: 0;
  }
  .wed-brand img,
  .wed-brand .brand-logo-img,
  a.wed-brand > img {
    height: 38px !important;
    max-width: 165px !important;
  }
  .wed-nav-menu {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: #fdfbf7;
    flex-direction: column;
    padding: 30px 24px;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-120%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
    border-bottom: 1px solid rgba(197, 155, 39, 0.2);
    visibility: hidden;
    pointer-events: none;
  }

  .wed-nav-menu.open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .wed-nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
  }

  .wed-nav-cta .btn-plan,
  .wed-nav-cta .btn-nav-login {
    height: 36px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  .wed-nav-cta .btn-plan {
    padding: 0 18px;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .wed-nav-cta .btn-nav-login {
    padding: 0 16px;
    font-size: 12.5px;
  }
}

@media (max-width: 768px) {
  .wed-nav-container {
    padding: 12px 18px;
    gap: 10px;
  }
  .wed-brand {
    flex-shrink: 0;
  }
  .wed-brand img,
  .wed-brand .brand-logo-img,
  a.wed-brand > img {
    height: 32px !important;
    max-width: 136px !important;
  }
  .wed-nav-cta {
    gap: 10px;
    flex-shrink: 0;
  }
  .wed-nav-cta .btn-plan,
  .wed-nav-cta .btn-nav-login {
    height: 34px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  .wed-nav-cta .btn-plan {
    padding: 0 14px;
    font-size: 12.5px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .wed-nav-cta .btn-nav-login {
    padding: 0 12px;
    font-size: 12px;
  }
  .nav-mobile-toggle {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 576px) {
  body {
    padding-top: 58px;
  }
  section[id] {
    scroll-margin-top: 66px;
  }
  .wed-nav-container {
    padding: 10px 16px;
    gap: 8px;
  }
  .wed-nav-menu {
    top: 56px;
  }
  .wed-brand {
    flex-shrink: 0;
    min-width: 0;
  }
  .wed-brand img,
  .wed-brand .brand-logo-img,
  a.wed-brand > img {
    height: 28px !important;
    max-width: 118px !important;
  }
  .brand-title {
    font-size: 17px;
  }
  .brand-tagline {
    font-size: 8.5px;
  }
  .wed-nav-cta {
    gap: 8px;
    flex-shrink: 0;
  }
  .wed-nav-cta .btn-plan,
  .wed-nav-cta .btn-nav-login {
    height: 30px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  .wed-nav-cta .btn-plan {
    padding: 0 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(150, 40, 70, 0.2);
    flex-shrink: 0;
  }
  .wed-nav-cta .btn-nav-login {
    padding: 0 10px;
    font-size: 11.5px;
    border-radius: 8px;
    flex-shrink: 0;
  }
  .nav-mobile-toggle {
    width: 30px;
    height: 30px;
    gap: 4px;
    padding: 3px;
    flex-shrink: 0;
  }
  .nav-mobile-toggle span {
    height: 2.2px;
  }
}

@media (max-width: 380px) {
  body {
    padding-top: 52px;
  }
  section[id] {
    scroll-margin-top: 60px;
  }
  .wed-nav-container {
    padding: 9px 12px;
    gap: 6px;
  }
  .wed-nav-menu {
    top: 50px;
  }
  .wed-brand img,
  .wed-brand .brand-logo-img,
  a.wed-brand > img {
    height: 24px !important;
    max-width: 102px !important;
  }
  .wed-nav-cta {
    gap: 6px;
    flex-shrink: 0;
  }
  .wed-nav-cta .btn-plan,
  .wed-nav-cta .btn-nav-login {
    height: 28px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  .wed-nav-cta .btn-plan {
    padding: 0 10px;
    font-size: 11px;
    flex-shrink: 0;
  }
  .wed-nav-cta .btn-nav-login {
    padding: 0 8px;
    font-size: 10.5px;
  }
  .nav-mobile-toggle {
    width: 28px;
    height: 28px;
    gap: 3.5px;
    padding: 2.5px;
    flex-shrink: 0;
  }
}

/* ==========================================================================
   LARGE SCREEN EXPANSION (1800px & 2000px+)
   ========================================================================== */
@media (min-width: 1800px) {
  .wed-nav-container {
    max-width: 1680px;
    padding: 18px 40px;
  }
  .wed-brand img,
  .wed-brand .brand-logo-img,
  a.wed-brand > img {
    height: 64px !important;
    max-width: 295px !important;
  }
  .nav-link {
    font-size: 19px;
  }
  .wed-nav-cta .btn-plan,
  .wed-nav-cta .btn-nav-login {
    height: 48px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  .wed-nav-cta .btn-plan {
    font-size: 18px;
    padding: 0 28px;
  }
  .wed-nav-cta .btn-nav-login {
    font-size: 17px;
    padding: 0 24px;
  }
}

@media (min-width: 2000px) {
  .wed-nav-container {
    max-width: min(96vw, 2600px);
    width: 96vw;
    margin: 0 auto;
    padding: clamp(14px, 0.8vw, 22px) clamp(16px, 1.5vw, 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(18px, 1.2vw, 32px);
  }
  .wed-brand img,
  .wed-brand .brand-logo-img,
  a.wed-brand > img {
    height: clamp(68px, 3.8vw, 98px) !important;
    max-width: clamp(300px, 17vw, 450px) !important;
  }
  .brand-icon {
    width: clamp(52px, 2.8vw, 72px);
    height: clamp(52px, 2.8vw, 72px);
  }
  .brand-title {
    font-size: clamp(28px, 1.6vw, 40px);
  }
  .brand-tagline {
    font-size: clamp(13px, 0.75vw, 17px);
    letter-spacing: 1px;
  }
  .wed-nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(20px, 1.6vw, 42px);
    flex-wrap: nowrap;
  }
  .nav-link {
    font-size: clamp(19px, 1.05vw, 25px) !important;
    font-weight: 600;
    padding: 6px 0;
    white-space: nowrap !important;
  }
  .nav-link.active::after {
    height: clamp(3px, 0.2vw, 5px);
    bottom: -4px;
    border-radius: 4px;
  }
  .wed-nav-cta {
    display: flex;
    align-items: center;
    gap: clamp(12px, 0.8vw, 20px);
    flex-shrink: 0;
  }
  .wed-nav-cta .btn-plan,
  .wed-nav-cta .btn-nav-login {
    height: clamp(44px, 2.4vw, 58px) !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
  }
  .wed-nav-cta .btn-plan {
    padding: 0 clamp(24px, 1.4vw, 40px) !important;
    font-size: clamp(17px, 0.95vw, 22px) !important;
    font-weight: 700;
    border-radius: clamp(8px, 0.5vw, 12px) !important;
    white-space: nowrap !important;
  }
  .wed-nav-cta .btn-nav-login {
    font-size: clamp(17px, 0.95vw, 22px) !important;
    font-weight: 600;
    padding: 0 clamp(22px, 1.3vw, 36px) !important;
    border-radius: clamp(8px, 0.5vw, 12px) !important;
    white-space: nowrap !important;
  }
  body {
    padding-top: clamp(88px, 4.6vw, 118px);
  }
  section[id] {
    scroll-margin-top: clamp(98px, 5vw, 130px);
  }
}

/* ==========================================================================
   WedPerfect - Registration Popup Modal
   Matches luxury layout, typography, cards, and original floral accents
   ========================================================================== */

.reg-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(22, 10, 16, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.reg-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.reg-modal-container {
  width: 100%;
  max-width: 580px; /* Spacious width on desktop screen */
  display: flex;
  justify-content: center;
}

.reg-modal-card {
  position: relative;
  width: 100%;
  background: radial-gradient(ellipse at 50% 12%, #FFFFFF 0%, #FDF9F2 55%, #F8F1E5 100%);
  border-radius: 26px;
  border: 1.5px solid rgba(197, 155, 39, 0.38);
  box-shadow: 0 28px 75px rgba(40, 12, 22, 0.32), 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 24px 34px 18px;
  overflow: hidden !important; /* Non-scrollable: fits perfectly in viewport */
  max-height: 94vh;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.45, 0.64, 1);
}

.reg-modal-backdrop.is-open .reg-modal-card {
  transform: scale(1) translateY(0);
}

/* Close button */
.reg-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(197, 155, 39, 0.32);
  color: #7b1e37;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  transition: all 0.22s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 0;
}

.reg-modal-close:hover {
  background: #8a1e3c;
  color: #ffffff;
  transform: rotate(90deg) scale(1.05);
}

/* Original Corner Florals - Pinned to corners without overflowing */
.reg-corner-floral {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.reg-floral-tl {
  top: -10px;
  left: -10px;
  width: 105px;
  height: auto;
  opacity: 0.8;
}

.reg-floral-tr {
  top: -10px;
  right: -10px;
  width: 105px;
  height: auto;
  opacity: 0.8;
  transform: scaleX(-1);
}

.reg-floral-bl {
  bottom: -10px;
  left: -8px;
  width: 130px; /* Enhanced size for bottom floral corner design */
  height: auto;
  opacity: 0.88;
}

.reg-floral-br {
  bottom: -10px;
  right: -8px;
  width: 130px; /* Enhanced size for bottom floral corner design */
  height: auto;
  opacity: 0.88;
  transform: scaleX(-1);
}

/* Content Container */
.reg-modal-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Logo */
.reg-modal-logo-wrap {
  margin-bottom: 6px;
  margin-top: 0;
}

.reg-modal-logo-img {
  height: 60px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(197, 155, 39, 0.18));
}

/* Title & Subtitle */
.reg-modal-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 27px;
  font-weight: 700;
  color: #1a1014;
  margin: 0 0 3px;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.reg-modal-subtitle {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 13.5px;
  color: #786b71;
  margin: 0 0 14px;
  font-weight: 400;
}

/* Option Cards Group */
.reg-options-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.reg-option-card {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 16px 8px 10px;
  border-radius: 14px;
  background: #ffffff;
  border: 1.6px solid #dfbe77;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.reg-option-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(138, 30, 60, 0.08);
  border-color: #c9983e;
}

.reg-option-card.is-selected {
  border-color: #8a1e3c;
  border-width: 1.8px;
  box-shadow: 0 5px 16px rgba(138, 30, 60, 0.14);
  background: #ffffff;
}

/* Card Thumbnail */
.reg-option-thumb-wrap {
  width: 112px;
  height: 70px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background: #f0e6dc;
}

.reg-option-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Card Text */
.reg-option-text {
  flex: 1;
  padding-right: 24px;
}

.reg-option-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17.5px;
  font-weight: 700;
  color: #1a1014;
  margin: 0 0 2px;
  line-height: 1.2;
}

.reg-option-desc {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 12.5px;
  color: #786b71;
  margin: 0;
  line-height: 1.35;
}

/* Radio Indicator */
.reg-option-radio {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reg-radio-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.8px solid #dfbe77;
  background: transparent;
  display: block;
  transition: all 0.2s ease;
}

.reg-radio-check {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #8a1e3c;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(138, 30, 60, 0.3);
  transition: all 0.2s ease;
}

.reg-option-card.is-selected .reg-radio-circle {
  display: none;
}

.reg-option-card.is-selected .reg-radio-check {
  display: flex;
}

/* Continue Button */
.reg-modal-submit-btn {
  width: 100%;
  padding: 12px 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #962846 0%, #7b1e37 100%);
  color: #ffffff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(138, 30, 60, 0.28);
  margin-bottom: 10px;
}

.reg-modal-submit-btn:hover {
  background: linear-gradient(135deg, #a72e4f 0%, #871f3b 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(138, 30, 60, 0.36);
}

.reg-modal-submit-btn:active {
  transform: translateY(0);
}

/* Footer Login text */
.reg-modal-footer-text {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 13px;
  color: #2b1f23;
  margin: 0 0 2px;
}

.reg-login-link {
  color: #c9882a;
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
  transition: color 0.2s;
}

.reg-login-link:hover {
  color: #9d6413;
  text-decoration: underline;
}

/* Bottom Bar - Hidden on desktop to ensure non-scrollable compact card */
.reg-modal-bottom-bar {
  display: none;
}

/* Responsive adjustments for Tablets & Mobiles */
@media (max-width: 650px) {
  .reg-modal-card {
    padding: 22px 18px 16px;
    border-radius: 22px;
  }
  .reg-modal-title {
    font-size: 23px;
  }
  .reg-modal-subtitle {
    font-size: 12.5px;
    margin-bottom: 14px;
  }
  .reg-option-card {
    padding: 8px 12px 8px 8px;
    gap: 10px;
  }
  .reg-option-thumb-wrap {
    width: 95px;
    height: 64px;
  }
  .reg-option-title {
    font-size: 15.5px;
  }
  .reg-option-desc {
    font-size: 11.5px;
  }
  .reg-modal-submit-btn {
    font-size: 16px;
    padding: 11px 22px;
  }
  .reg-modal-footer-text {
    font-size: 12px;
  }
  .reg-floral-bl {
    width: 95px;
    bottom: -8px;
    left: -8px;
  }
  .reg-floral-br {
    width: 95px;
    bottom: -8px;
    right: -8px;
  }
}

/* Intermediate Large Screen (1800px - 1999px) */
@media (min-width: 1800px) and (max-width: 1999px) {
  .reg-modal-container {
    max-width: 780px;
  }

  .reg-modal-card {
    padding: 34px 46px 24px;
    border-radius: 30px;
    border-width: 2px;
  }

  .reg-modal-logo-img {
    height: 76px;
    max-width: 220px;
  }

  .reg-modal-title {
    font-size: 34px;
    margin-bottom: 6px;
  }

  .reg-modal-subtitle {
    font-size: 16.5px;
    margin-bottom: 18px;
  }

  .reg-option-card {
    padding: 12px 20px 12px 14px;
    gap: 16px;
    border-radius: 18px;
  }

  .reg-option-thumb-wrap {
    width: 140px;
    height: 88px;
    border-radius: 12px;
  }

  .reg-option-title {
    font-size: 22px;
  }

  .reg-option-desc {
    font-size: 15px;
  }

  .reg-modal-submit-btn {
    padding: 15px 38px;
    font-size: 21px;
    margin-bottom: 12px;
  }

  .reg-modal-footer-text,
  .reg-login-link {
    font-size: 15.5px;
  }
}

/* Large Screen Expansion for Registration Modal (above 2000px only) - Single Row Options, Increased Height & Big Typography */
@media (min-width: 2000px) {
  .reg-modal-container {
    max-width: clamp(1120px, 58vw, 1420px) !important;
    width: 90vw !important;
  }

  .reg-modal-card {
    min-height: clamp(660px, 35vw, 820px) !important;
    max-height: 94vh !important;
    padding: clamp(42px, 2.3vw, 62px) clamp(48px, 2.6vw, 74px) clamp(36px, 2vw, 52px) !important;
    border-radius: clamp(32px, 1.8vw, 44px) !important;
    border-width: 2.4px !important;
    box-shadow: 0 42px 120px rgba(40, 12, 22, 0.42), 0 16px 48px rgba(0, 0, 0, 0.14) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    overflow-y: auto !important;
  }

  .reg-modal-content {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .reg-tab-view {
    width: 100% !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .reg-tab-view[style*="display: none"],
  .reg-tab-view[style*="none"] {
    display: none !important;
  }

  .reg-tab-view.is-active:not([style*="display: none"]) {
    display: flex !important;
  }

  .reg-modal-close {
    top: clamp(18px, 1.1vw, 28px) !important;
    right: clamp(18px, 1.1vw, 28px) !important;
    width: clamp(52px, 2.7vw, 66px) !important;
    height: clamp(52px, 2.7vw, 66px) !important;
  }

  .reg-modal-close svg {
    width: clamp(26px, 1.4vw, 32px) !important;
    height: clamp(26px, 1.4vw, 32px) !important;
  }

  .reg-floral-tl,
  .reg-floral-tr {
    width: clamp(185px, 10vw, 250px) !important;
  }

  .reg-floral-bl,
  .reg-floral-br {
    width: clamp(200px, 11vw, 280px) !important;
  }

  /* Logo Image */
  .reg-modal-logo-wrap {
    margin-bottom: clamp(12px, 0.7vw, 20px) !important;
  }

  .reg-modal-logo-img {
    height: clamp(96px, 5.2vw, 136px) !important;
    max-width: clamp(290px, 15vw, 390px) !important;
    width: auto !important;
    filter: drop-shadow(0 4px 14px rgba(197, 155, 39, 0.28)) !important;
  }

  /* Mode Switcher Tabs */
  .reg-modal-tabs {
    max-width: clamp(320px, 17vw, 420px) !important;
    padding: clamp(5px, 0.3vw, 8px) !important;
    border-radius: 8px !important;
    gap: clamp(5px, 0.3vw, 9px) !important;
    margin-bottom: clamp(18px, 1vw, 28px) !important;
  }

  .reg-tab-btn {
    font-size: clamp(20px, 1.1vw, 26px) !important;
    padding: clamp(10px, 0.6vw, 15px) clamp(24px, 1.3vw, 36px) !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
  }

  /* Modal Main Title & Subtitle */
  .reg-modal-title {
    font-size: clamp(46px, 2.5vw, 62px) !important;
    margin: 0 0 clamp(8px, 0.45vw, 12px) !important;
    letter-spacing: -0.5px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  .reg-modal-subtitle {
    font-size: clamp(21px, 1.15vw, 28px) !important;
    margin: 0 0 clamp(24px, 1.3vw, 36px) !important;
    text-align: center !important;
  }

  /* Options in Single Row (Side by Side in 2 Equal Columns) */
  .reg-options-group {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: clamp(20px, 1.2vw, 34px) !important;
    width: 100% !important;
    margin-bottom: clamp(28px, 1.5vw, 40px) !important;
  }

  .reg-option-card {
    display: flex !important;
    align-items: center !important;
    gap: clamp(16px, 1vw, 24px) !important;
    padding: clamp(16px, 1vw, 24px) clamp(22px, 1.2vw, 32px) clamp(16px, 1vw, 24px) clamp(16px, 1vw, 24px) !important;
    border-radius: clamp(18px, 1vw, 26px) !important;
    border-width: 2.2px !important;
    min-height: clamp(130px, 7.2vw, 175px) !important;
    height: 100% !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    position: relative !important;
  }

  .reg-option-card.is-selected {
    border-width: 2.6px !important;
  }

  .reg-option-thumb-wrap {
    width: clamp(140px, 7.8vw, 190px) !important;
    height: clamp(96px, 5.4vw, 132px) !important;
    border-radius: clamp(12px, 0.7vw, 16px) !important;
    flex-shrink: 0 !important;
  }

  .reg-option-text {
    flex: 1 !important;
    padding-right: clamp(26px, 1.4vw, 40px) !important;
  }

  .reg-option-title {
    font-size: clamp(25px, 1.35vw, 33px) !important;
    margin: 0 0 clamp(6px, 0.35vw, 10px) !important;
    font-weight: 700 !important;
    line-height: 1.22 !important;
  }

  .reg-option-desc {
    font-size: clamp(16.5px, 0.9vw, 21.5px) !important;
    line-height: 1.42 !important;
    color: #5d4d53 !important;
  }

  .reg-option-radio {
    top: clamp(18px, 1.1vw, 26px) !important;
    right: clamp(18px, 1.1vw, 26px) !important;
    width: clamp(32px, 1.7vw, 42px) !important;
    height: clamp(32px, 1.7vw, 42px) !important;
  }

  .reg-radio-circle {
    width: clamp(30px, 1.6vw, 40px) !important;
    height: clamp(30px, 1.6vw, 40px) !important;
    border-width: 2.2px !important;
  }

  .reg-radio-check {
    width: clamp(31px, 1.65vw, 41px) !important;
    height: clamp(31px, 1.65vw, 41px) !important;
  }

  .reg-radio-check svg {
    width: clamp(19px, 1.05vw, 25px) !important;
    height: clamp(19px, 1.05vw, 25px) !important;
  }

  /* Continue CTA Button (Registration View) */
  .reg-modal-submit-btn {
    width: auto !important;
    min-width: clamp(440px, 24vw, 580px) !important;
    max-width: 90% !important;
    height: clamp(62px, 3.4vw, 78px) !important;
    margin: 0 auto clamp(16px, 0.9vw, 24px) !important;
    padding: 0 clamp(54px, 3vw, 80px) !important;
    font-size: clamp(23px, 1.25vw, 30px) !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    letter-spacing: 0.6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
  }

  .reg-modal-footer-text {
    font-size: clamp(20px, 1.1vw, 26px) !important;
    margin: 0 0 4px !important;
    text-align: center !important;
  }

  .reg-login-link {
    font-size: clamp(20px, 1.1vw, 26px) !important;
    font-weight: 700 !important;
  }

  /* ========================================================================
     Large Screen Optimization for LOGIN VIEW (Centered, Symmetrical, Big Fonts)
     ======================================================================== */
  .login-role-selector {
    display: flex !important;
    width: 100% !important;
    max-width: clamp(740px, 40vw, 920px) !important;
    gap: clamp(16px, 1vw, 24px) !important;
    margin-bottom: clamp(22px, 1.2vw, 32px) !important;
    justify-content: center !important;
  }

  .login-role-pill {
    flex: 1 !important;
    max-width: none !important;
    padding: clamp(14px, 0.8vw, 20px) clamp(22px, 1.2vw, 32px) !important;
    font-size: clamp(20px, 1.1vw, 26px) !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    border-width: 2px !important;
    gap: clamp(10px, 0.55vw, 14px) !important;
  }

  .login-role-pill svg {
    width: clamp(22px, 1.2vw, 30px) !important;
    height: clamp(22px, 1.2vw, 30px) !important;
  }

  .reg-login-form {
    width: 100% !important;
    max-width: clamp(740px, 40vw, 920px) !important;
    gap: clamp(18px, 1vw, 26px) !important;
    margin-bottom: clamp(18px, 1vw, 26px) !important;
  }

  .reg-form-group {
    width: 100% !important;
  }

  .reg-label-row {
    margin-bottom: clamp(7px, 0.4vw, 11px) !important;
  }

  .reg-form-label {
    font-size: clamp(19px, 1.05vw, 25px) !important;
    font-weight: 700 !important;
    color: #2b1f23 !important;
    margin-bottom: clamp(7px, 0.4vw, 11px) !important;
  }

  .reg-forgot-link {
    font-size: clamp(17.5px, 0.95vw, 22px) !important;
    font-weight: 700 !important;
  }

  .reg-input-wrap {
    width: 100% !important;
  }

  .reg-input {
    width: 100% !important;
    height: clamp(60px, 3.2vw, 74px) !important;
    padding: 0 clamp(52px, 2.8vw, 68px) !important;
    font-size: clamp(19px, 1.05vw, 25px) !important;
    border-radius: 8px !important;
    border-width: 2px !important;
    box-sizing: border-box !important;
  }

  .reg-input::placeholder {
    font-size: clamp(18px, 1vw, 23px) !important;
    color: #9c8a90 !important;
  }

  .reg-input-icon {
    width: clamp(24px, 1.3vw, 32px) !important;
    height: clamp(24px, 1.3vw, 32px) !important;
    left: clamp(16px, 0.9vw, 22px) !important;
  }

  .reg-toggle-pwd {
    right: clamp(14px, 0.8vw, 20px) !important;
  }

  .reg-toggle-pwd svg {
    width: clamp(24px, 1.3vw, 32px) !important;
    height: clamp(24px, 1.3vw, 32px) !important;
  }

  /* Log In Button inside Form */
  .reg-login-form .reg-modal-submit-btn {
    width: 100% !important;
    max-width: 100% !important;
    height: clamp(62px, 3.4vw, 78px) !important;
    font-size: clamp(23px, 1.25vw, 30px) !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    margin: clamp(12px, 0.7vw, 18px) 0 clamp(8px, 0.45vw, 12px) !important;
  }

  .login-feedback-msg {
    font-size: clamp(17px, 0.95vw, 22px) !important;
    padding: clamp(11px, 0.65vw, 16px) clamp(18px, 1vw, 26px) !important;
    border-radius: 8px !important;
  }
}


/* ==========================================================================
   Modal Tab Switcher (Register vs Login) & Login Form
   ========================================================================== */
.reg-modal-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(223, 190, 119, 0.22);
  border: 1.2px solid rgba(197, 155, 39, 0.35);
  border-radius: 8px;
  padding: 3px;
  gap: 4px;
  margin-bottom: 12px;
  width: 100%;
  max-width: 240px;
}

.reg-tab-btn {
  flex: 1;
  padding: 6px 16px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #554449;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
}

.reg-tab-btn.is-active {
  background: #ffffff;
  color: #7b1e37;
  box-shadow: 0 3px 10px rgba(123, 30, 55, 0.16);
  font-weight: 700;
}

.reg-tab-view {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Login View Role Selector */
.login-role-selector {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-bottom: 12px;
  justify-content: center;
}

.login-role-pill {
  flex: 1;
  max-width: 165px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1.5px solid #dfbe77;
  background: #ffffff;
  color: #4a3d42;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.login-role-pill:hover {
  border-color: #8a1e3c;
  color: #8a1e3c;
}

.login-role-pill.is-active {
  border-color: #8a1e3c;
  background: rgba(138, 30, 60, 0.08);
  color: #8a1e3c;
  font-weight: 700;
}

/* Login Form Elements */
.reg-login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 10px;
}

.reg-form-group {
  width: 100%;
  text-align: left;
}

.reg-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.reg-form-label {
  display: block;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #3b2d32;
  margin-bottom: 4px;
}

.reg-forgot-link {
  font-size: 11.5px;
  color: #c9882a;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
.reg-forgot-link:hover {
  text-decoration: underline;
  color: #9d6413;
}

.reg-input-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.reg-input-icon {
  position: absolute;
  left: 12px;
  color: #9c8a90;
  pointer-events: none;
}

.reg-input {
  width: 100%;
  padding: 8.5px 36px 8.5px 36px;
  border-radius: 10px;
  border: 1.5px solid #dfbe77;
  background: #ffffff;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 13px;
  color: #1a1014;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.reg-input:focus {
  border-color: #8a1e3c;
  box-shadow: 0 0 0 3px rgba(138, 30, 60, 0.12);
}

.reg-toggle-pwd {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  color: #9c8a90;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reg-toggle-pwd:hover {
  color: #3b2d32;
}

.login-feedback-msg {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  text-align: center;
  margin-top: 4px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
.login-feedback-msg.is-success {
  background: #eef8ee;
  color: #1b6d27;
  border: 1px solid #b5e2be;
}
.login-feedback-msg.is-error {
  background: #fdf0f0;
  color: #ad1e25;
  border: 1px solid #f2c0c2;
}


/* Mobile drawer login link */
@media (min-width: 1025px) {
  .nav-menu-login-item {
    display: none !important;
  }
}
@media (max-width: 1024px) {
  .nav-menu-login-item {
    display: block;
    margin-top: 4px;
    border-top: 1px dashed rgba(223, 190, 119, 0.4);
    padding-top: 6px;
  }
  .nav-menu-login-item .nav-link {
    color: var(--nav-primary) !important;
    font-weight: 700;
  }
}
