/** Shopify CDN: Minification failed

Line 330:0 All "@import" rules must come first
Line 620:0 All "@import" rules must come first
Line 1080:0 All "@import" rules must come first
Line 2689:0 All "@import" rules must come first
Line 3199:0 All "@import" rules must come first
Line 3605:0 All "@import" rules must come first
Line 4267:0 All "@import" rules must come first
Line 4940:0 All "@import" rules must come first
Line 5444:0 All "@import" rules must come first
Line 6675:0 All "@import" rules must come first
... and 1 more hidden warnings

**/


/* CSS from section stylesheet tags */
/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600&display=swap');

/* CSS Variables */
:root {
  --color-bg: #F8F6F0;
  --color-text: #333333;
  --color-text-muted: #555555;
  --color-gold: #B4975A;
  --color-navy: #1C1F2A;
  --color-white: #FFFFFF;
  --color-success: #4CAF50;
  --color-error: #D64545;
  
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  
  --radius-md: 20px;
  --radius-full: 50px;
}

/* Section */
.approval-status-section {
  background: linear-gradient(165deg, var(--color-bg) 0%, var(--color-white) 50%, var(--color-bg) 100%);
  padding: 100px 20px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Decorative Background */
.approval-status-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 151, 90, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.approval-status-container {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Status Card */
.status-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 60px 40px;
  box-shadow: 0 12px 48px rgba(28, 31, 42, 0.08);
  border: 1px solid rgba(232, 230, 222, 0.5);
  text-align: center;
  animation: fadeInUp 0.6s ease-out;
}

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

/* Status Icon */
.status-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 0.5s ease-out;
}

.status-icon.success {
  background: rgba(76, 175, 80, 0.15);
}

.status-icon.error {
  background: rgba(213, 69, 69, 0.15);
}

.status-icon svg {
  width: 40px;
  height: 40px;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Status Headline */
.status-headline {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 16px 0;
  line-height: 1.2;
}

/* Status Message */
.status-message {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0 0 var(--spacing-lg) 0;
}

/* Info Box */
.info-box {
  background: rgba(180, 151, 90, 0.08);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: var(--spacing-lg);
}

.info-box p {
  margin: 0;
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.6;
}

.info-box strong {
  color: var(--color-navy);
}

/* Buttons */
.button-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: var(--spacing-lg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold) 0%, #D4B876 100%);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(180, 151, 90, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(180, 151, 90, 0.4);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}

.btn-secondary:hover {
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Support Info */
.support-info {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(232, 230, 222, 0.5);
}

.support-info p {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-muted);
}

.support-info a {
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 600;
}

.support-info a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .approval-status-section {
    padding: 60px 20px;
  }

  .status-card {
    padding: 40px 24px;
  }

  .status-headline {
    font-size: 26px;
  }

  .status-message {
    font-size: 16px;
  }

  .button-group {
    gap: 10px;
  }
}
.footer-section{
  background: #1C1F2A;
  color: #E8E6DE;
  padding: 30px 20px;
}

.footer-container{
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer-stars{
  display: flex;
  gap: 5px;
  margin-right: 10px;
  flex-shrink: 0;
}

.footer-star{
  width: 16px;
  height: 16px;
}

.footer-copyright{
  color: #9B9A92;
  font-size: 13px;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  line-height: 1.6;
}

.footer-copyright a{
  color: #B4975A;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-copyright a:hover{
  color: #D4B876;
}

@media (max-width: 576px){
  .footer-copyright{
    justify-content: center;
    font-size: 12px;
    text-align: center;
  }
  
  .footer-stars{
    margin-right: 8px;
  }
  
  .footer-star{
    width: 14px;
    height: 14px;
  }
}
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600&display=swap');

:root{
  --bg: #F8F6F0;
  --text: #333333;
  --muted: #555555;
  --gold: #B4975A;
  --gold-light: #D4B876;
  --navy: #1C1F2A;
  --white: #FFFFFF;
}

.hero-premium{
  background: linear-gradient(165deg, #F8F6F0 0%, #FFFFFF 50%, #F8F6F0 100%);
  padding: 80px 20px 60px;
  position: relative;
  overflow: hidden;
}

.hero-premium:before{
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(180, 151, 90, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.hero-premium:after{
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(28, 31, 42, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float{
  0%, 100%{ transform: translate(0, 0) scale(1); }
  50%{ transform: translate(-30px, 30px) scale(1.1); }
}

/* Sign In Link - Floating in top right */
.hero-signin-wrapper{
  position: absolute;
  top: 30px;
  right: 40px;
  z-index: 10;
  animation: fadeInDown 0.6s ease-out;
}

@keyframes fadeInDown{
  from{
    opacity: 0;
    transform: translateY(-20px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-signin-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(180, 151, 90, 0.3);
  border-radius: 50px;
  color: var(--navy);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hero-signin-link:hover{
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(180, 151, 90, 0.3);
}

.hero-signin-link svg{
  width: 16px;
  height: 16px;
}

.hero-container{
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-content{
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.stars-wrapper{
  display: inline-flex;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(180, 151, 90, 0.08);
  border-radius: 50px;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease-out;
}

.star{
  width: 24px;
  height: 24px;
  animation: starPulse 2s ease-in-out infinite;
}

.star:nth-child(1){ animation-delay: 0s; }
.star:nth-child(2){ animation-delay: 0.1s; }
.star:nth-child(3){ animation-delay: 0.2s; }
.star:nth-child(4){ animation-delay: 0.3s; }
.star:nth-child(5){ animation-delay: 0.4s; }

@keyframes starPulse{
  0%, 100%{ transform: scale(1); opacity: 1; }
  50%{ transform: scale(1.15); opacity: 0.8; }
}

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

.hero-headline{
  margin: 0 0 20px 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 8vw, 82px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.1;
  background: linear-gradient(135deg, #B4975A 0%, #D4B876 50%, #B4975A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subheadline{
  margin: 0 0 24px 0;
  font-family: 'Inter', sans-serif;
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-description{
  margin: 0 0 40px 0;
  color: var(--muted);
  font-size: clamp(17px, 2.5vw, 20px);
  line-height: 1.7;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta-wrapper{
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-cta{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  font-size: 17px;
  position: relative;
  overflow: hidden;
}

.hero-cta:before{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.hero-cta:hover:before{
  width: 300px;
  height: 300px;
}

.hero-cta span{
  position: relative;
  z-index: 1;
}

.hero-cta.primary{
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  border: 2px solid transparent;
  box-shadow: 0 4px 16px rgba(180, 151, 90, 0.3);
}

.hero-cta.primary:hover{
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(180, 151, 90, 0.45);
}

.hero-cta.secondary{
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--navy);
}

.hero-cta.secondary:hover{
  background: var(--navy);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(28, 31, 42, 0.2);
}

.hero-cta svg{
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.hero-cta:hover svg{
  transform: translateX(4px);
}

@media (max-width: 768px){
  .hero-premium{
    padding: 60px 20px 50px;
  }

  .hero-signin-wrapper{
    top: 20px;
    right: 20px;
  }

  .hero-signin-link{
    padding: 8px 18px;
    font-size: 14px;
  }
  
  .hero-cta-wrapper{
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-cta{
    justify-content: center;
  }
}
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=Inter:wght@400;500;600&display=swap');

:root{
  --bg: #F8F6F0;
  --text: #333333;
  --muted: #555555;
  --gold: #B4975A;
  --gold-light: #D4B876;
  --navy: #1C1F2A;
  --white: #FFFFFF;
  --error: #D64545;
}

.login-page{
  background: linear-gradient(165deg, #F8F6F0 0%, #FFFFFF 50%, #F8F6F0 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.login-page:before{
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(180, 151, 90, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.login-page:after{
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(28, 31, 42, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float{
  0%, 100%{ transform: translate(0, 0) scale(1); }
  50%{ transform: translate(-30px, 30px) scale(1.1); }
}

.login-container{
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 1;
}

.login-header{
  text-align: center;
  margin-bottom: 40px;
}

.logo-container{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease-out;
}

.logo-star{
  width: 32px;
  height: 32px;
  animation: starPulse 2s ease-in-out infinite;
}

.logo-star:nth-child(1){ animation-delay: 0s; }
.logo-star:nth-child(2){ animation-delay: 0.1s; }
.logo-star:nth-child(3){ animation-delay: 0.2s; }
.logo-star:nth-child(4){ animation-delay: 0.3s; }
.logo-star:nth-child(5){ animation-delay: 0.4s; }

@keyframes starPulse{
  0%, 100%{ transform: scale(1); opacity: 1; }
  50%{ transform: scale(1.1); opacity: 0.8; }
}

@keyframes fadeInDown{
  from{
    opacity: 0;
    transform: translateY(-20px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

.login-header h1{
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 6vw, 42px);
  color: var(--navy);
  margin: 0 0 12px 0;
  font-weight: 600;
  animation: fadeInDown 0.6s ease-out 0.1s both;
}

.login-header p{
  color: var(--muted);
  font-size: 16px;
  margin: 0;
  animation: fadeInDown 0.6s ease-out 0.2s both;
}

.login-card{
  background: var(--white);
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: 0 10px 40px rgba(28, 31, 42, 0.1);
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

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

.login-tabs{
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  background: #F8F6F0;
  padding: 6px;
  border-radius: 12px;
}

.login-tab{
  flex: 1;
  padding: 12px 20px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-tab:hover{
  color: var(--navy);
}

.login-tab.active{
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(28, 31, 42, 0.08);
}

.tab-content{
  display: none;
}

.tab-content.active{
  display: block;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn{
  from{ opacity: 0; }
  to{ opacity: 1; }
}

.form-group{
  margin-bottom: 24px;
}

.form-label{
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  font-size: 15px;
}

.input-wrapper{
  position: relative;
}

.input-icon{
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--muted);
  pointer-events: none;
}

.form-input{
  width: 100%;
  padding: 14px 16px 14px 48px;
  border: 2px solid #E8E6DE;
  border-radius: 12px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  transition: all 0.3s ease;
  background: var(--white);
}

.form-input:focus{
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(180, 151, 90, 0.1);
}

.form-input.error{
  border-color: var(--error);
}

.error-message{
  display: none;
  color: var(--error);
  font-size: 13px;
  margin-top: 8px;
  font-weight: 500;
}

.error-message.show{
  display: block;
  animation: shake 0.4s ease-out;
}

@keyframes shake{
  0%, 100%{ transform: translateX(0); }
  25%{ transform: translateX(-10px); }
  75%{ transform: translateX(10px); }
}

.password-toggle{
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 8px;
  transition: color 0.3s ease;
}

.password-toggle:hover{
  color: var(--navy);
}

.forgot-password{
  text-align: right;
  margin-top: -16px;
  margin-bottom: 24px;
}

.forgot-password a{
  color: var(--gold);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.forgot-password a:hover{
  color: var(--gold-light);
  text-decoration: underline;
}

.remember-me{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.remember-me input[type="checkbox"]{
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
}

.remember-me label{
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}

.login-btn{
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.login-btn:before{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.login-btn:hover:before{
  width: 300px;
  height: 300px;
}

.login-btn:hover:not(:disabled){
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(180, 151, 90, 0.4);
}

.login-btn:disabled{
  opacity: 0.6;
  cursor: not-allowed;
}

.login-btn.loading{
  pointer-events: none;
}

.btn-text{
  position: relative;
  z-index: 1;
}

.spinner{
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

.login-btn.loading .spinner{
  display: block;
}

.login-btn.loading .btn-text{
  display: none;
}

@keyframes spin{
  to{ transform: rotate(360deg); }
}

.divider{
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0;
}

.divider-line{
  flex: 1;
  height: 1px;
  background: #E8E6DE;
}

.divider-text{
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.help-text{
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #E8E6DE;
}

.help-text p{
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 12px 0;
}

.help-text a{
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.help-text a:hover{
  color: var(--gold-light);
  text-decoration: underline;
}

.success-message{
  display: none;
  padding: 16px 20px;
  background: rgba(76, 175, 80, 0.1);
  border-left: 4px solid var(--success);
  border-radius: 8px;
  color: var(--success);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

.success-message.show{
  display: block;
  animation: fadeIn 0.4s ease-out;
}

@media (max-width: 480px){
  .login-card{
    padding: 40px 28px;
  }
  
  .login-header h1{
    font-size: 28px;
  }
  
  .form-input{
    padding: 12px 16px 12px 44px;
  }
}
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600&display=swap');

:root{
  --bg: #F8F6F0;
  --text: #333333;
  --muted: #555555;
  --gold: #B4975A;
  --gold-light: #D4B876;
  --navy: #1C1F2A;
  --white: #FFFFFF;
  --success: #4CAF50;
  --error: #D64545;
}

.dashboard-page{
  background: var(--bg);
  min-height: 100vh;
  padding: 0;
}

.dashboard-header{
  background: linear-gradient(135deg, var(--navy) 0%, #2a2d3a 100%);
  color: var(--white);
  padding: 32px 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: visible !important;
  z-index: 100;
}

.dashboard-header::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
}

.header-container{
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: visible !important;
}

.header-left{
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-stars{
  display: flex;
  gap: 6px;
  filter: drop-shadow(0 2px 8px rgba(180, 151, 90, 0.3));
}

.logo-star{
  width: 24px;
  height: 24px;
  animation: starShine 2s ease-in-out infinite;
}

.logo-star:nth-child(1){ animation-delay: 0s; }
.logo-star:nth-child(2){ animation-delay: 0.2s; }
.logo-star:nth-child(3){ animation-delay: 0.4s; }
.logo-star:nth-child(4){ animation-delay: 0.6s; }
.logo-star:nth-child(5){ animation-delay: 0.8s; }

@keyframes starShine{
  0%, 100%{ opacity: 1; transform: scale(1); }
  50%{ opacity: 0.7; transform: scale(0.95); }
}

.business-info h1{
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  margin: 0 0 6px 0;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #FFFFFF !important;
}

#business-name-header{
  color: #FFFFFF !important;
}

.business-info p{
  margin: 0;
  font-size: 15px;
  color: #FFFFFF !important;
  opacity: 0.9;
  font-weight: 500;
}

#manager-name-header{
  color: #FFFFFF !important;
}

.header-right{
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 10000;
  overflow: visible !important;
}

/* Account Dropdown Styles */
.account-dropdown {
  position: relative;
  z-index: 10001 !important;
  overflow: visible !important;
}

.account-btn{
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border: none;
  border-radius: 50px;
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(180, 151, 90, 0.3);
}

.account-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(180, 151, 90, 0.4);
}

.account-btn svg {
  transition: transform 0.3s ease;
}

.account-dropdown.active .account-btn svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute !important;
  top: calc(100% + 12px);
  right: 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(28, 31, 42, 0.15);
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 99999 !important;
  overflow: visible !important;
  border: 1px solid rgba(180, 151, 90, 0.2);
}

.account-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 24px;
  width: 16px;
  height: 16px;
  background: var(--white);
  transform: rotate(45deg);
  border-left: 1px solid rgba(180, 151, 90, 0.2);
  border-top: 1px solid rgba(180, 151, 90, 0.2);
}

.dropdown-header {
  padding: 16px 20px;
  border-bottom: 2px solid #E8E6DE;
  background: linear-gradient(135deg, #FAFAF8 0%, #F8F6F0 100%);
}

.dropdown-header-title {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 6px 0;
}

.dropdown-header-email {
  font-size: 14px;
  color: var(--navy);
  font-weight: 600;
  margin: 0;
}

.dropdown-item {
  padding: 14px 20px;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid #F0EEE6;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.dropdown-item:hover {
  background: rgba(180, 151, 90, 0.08);
  color: var(--navy);
}

.dropdown-item:hover svg {
  color: var(--gold-light);
  transform: translateX(2px);
}

.dropdown-item.danger {
  color: var(--error);
}

.dropdown-item.danger svg {
  color: var(--error);
}

.dropdown-item.danger:hover {
  background: rgba(214, 69, 69, 0.08);
}

.logout-btn{
  padding: 12px 24px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.upgrade-btn{
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border: none;
  border-radius: 50px;
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(180, 151, 90, 0.3);
}

.upgrade-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(180, 151, 90, 0.5);
}

.logout-btn:hover{
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
}

.logout-btn:disabled{
  opacity: 0.5;
  cursor: not-allowed;
}

.dashboard-nav{
  background: var(--white);
  border-bottom: 2px solid #E8E6DE;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 50;
}

.nav-container{
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  padding: 0 40px;
}

.nav-tab{
  padding: 18px 28px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.nav-tab::after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-tab:hover{
  color: var(--navy);
  background: rgba(180, 151, 90, 0.05);
}

.nav-tab.active{
  color: var(--gold);
}

.nav-tab.active::after{
  width: 100%;
}

.dashboard-content{
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px;
  position: relative;
  z-index: 1;
}

.tab-panel{
  display: none;
}

.tab-panel.active{
  display: block;
  animation: fadeIn 0.4s ease-out;
}

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

/* OVERVIEW TAB */
.stats-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.stat-card{
  background: var(--white);
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(28, 31, 42, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(180, 151, 90, 0.1);
}

.stat-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(28, 31, 42, 0.12);
  border-color: var(--gold);
}

.stat-header{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.stat-label{
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-icon{
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(180, 151, 90, 0.15) 0%, rgba(180, 151, 90, 0.05) 100%);
}

.stat-icon svg{
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.stat-value{
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.stat-change{
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.quick-actions{
  background: var(--white);
  padding: 36px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(28, 31, 42, 0.08);
  margin-bottom: 32px;
  border: 1px solid rgba(180, 151, 90, 0.1);
}

.quick-actions h2{
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--navy);
  margin: 0 0 24px 0;
  font-weight: 700;
}

.actions-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.action-card{
  padding: 24px;
  border: 2px solid #E8E6DE;
  border-radius: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--white);
}

.action-card:hover{
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(180, 151, 90, 0.05) 0%, rgba(180, 151, 90, 0.02) 100%);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(180, 151, 90, 0.15);
}

.action-icon{
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  color: var(--gold);
}

.action-title{
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 16px;
}

.action-desc{
  font-size: 13px;
  color: var(--muted);
}

/* MANAGE TEST TAB */
.test-info-card{
  background: var(--white);
  padding: 36px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(28, 31, 42, 0.08);
  margin-bottom: 24px;
  border: 1px solid rgba(180, 151, 90, 0.1);
}

.test-info-header{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}

.test-info-header h2{
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--navy);
  margin: 0 0 8px 0;
  font-weight: 700;
}

.test-status{
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(180, 151, 90, 0.15) 0%, rgba(180, 151, 90, 0.1) 100%);
  color: var(--gold);
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.test-status:hover{
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(180, 151, 90, 0.3);
  border-color: var(--gold);
}

.test-details{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}

.detail-item{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-label{
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.detail-value{
  font-size: 20px;
  color: var(--navy);
  font-weight: 600;
}

.qr-section{
  background: var(--white);
  padding: 36px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(28, 31, 42, 0.08);
  margin-bottom: 24px;
  border: 1px solid rgba(180, 151, 90, 0.1);
}

.qr-section h3{
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--navy);
  margin: 0 0 12px 0;
  font-weight: 700;
}

.qr-content{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}

.qr-placeholder{
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, #F8F6F0 0%, #FAFAF8 100%);
  border: 3px dashed var(--gold);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  padding: 20px;
  transition: all 0.3s ease;
}

.qr-placeholder:hover{
  border-color: var(--gold-light);
  background: linear-gradient(135deg, rgba(180, 151, 90, 0.05) 0%, rgba(180, 151, 90, 0.02) 100%);
}

.qr-info{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.test-link{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #F8F6F0;
  border-radius: 10px;
  border: 2px solid #E8E6DE;
  transition: all 0.3s ease;
}

.test-link:hover{
  border-color: var(--gold);
}

.test-link input{
  flex: 1;
  border: none;
  background: none;
  font-size: 14px;
  color: var(--navy);
  font-family: 'Inter', monospace;
  font-weight: 500;
}

.copy-btn{
  padding: 10px 20px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.copy-btn:hover{
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(180, 151, 90, 0.3);
}

.download-qr-btn{
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(180, 151, 90, 0.2);
}

.download-qr-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(180, 151, 90, 0.35);
}

/* SCOREBOARD TAB */
.filters-bar{
  background: var(--white);
  padding: 24px 28px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(28, 31, 42, 0.08);
  margin-bottom: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  border: 1px solid rgba(180, 151, 90, 0.1);
}

.filter-group{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-label{
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.filter-select{
  padding: 12px 18px;
  border: 2px solid #E8E6DE;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-select:focus{
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(180, 151, 90, 0.1);
}

.search-box{
  flex: 1;
  min-width: 200px;
}

.search-box input{
  width: 100%;
  padding: 12px 18px 12px 44px;
  border: 2px solid #E8E6DE;
  border-radius: 10px;
  font-size: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") no-repeat 14px center;
  transition: all 0.3s ease;
}

.search-box input:focus{
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(180, 151, 90, 0.1);
}

.results-table{
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(28, 31, 42, 0.08);
  overflow: hidden;
  border: 1px solid rgba(180, 151, 90, 0.1);
}

.table-header{
  padding: 24px 28px;
  border-bottom: 2px solid #E8E6DE;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.table-header h3{
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--navy);
  margin: 0;
  font-weight: 700;
}

.export-btn{
  padding: 10px 20px;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.export-btn:hover{
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(28, 31, 42, 0.2);
}

table{
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
}

thead{
  background: linear-gradient(135deg, #FAFAF8 0%, #F8F6F0 100%);
}

th{
  padding: 18px 28px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid #E8E6DE;
}

td{
  padding: 24px 28px;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid #E8E6DE;
}

th:nth-child(1), td:nth-child(1) { width: 18%; min-width: 140px; }
th:nth-child(2), td:nth-child(2) { width: 24%; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
th:nth-child(3), td:nth-child(3) { width: 12%; min-width: 90px; }
th:nth-child(4), td:nth-child(4) { width: 14%; }
th:nth-child(5), td:nth-child(5) { width: 18%; }
th:nth-child(6), td:nth-child(6) { width: 14%; min-width: 120px; text-align: center; }

td:nth-child(2):hover {
  overflow: visible;
  white-space: normal;
  word-break: break-all;
  position: relative;
  z-index: 10;
  background: var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  padding: 24px 28px;
}

tr:hover{
  background: rgba(180, 151, 90, 0.04);
}

.staff-name{
  font-weight: 600;
  color: var(--navy);
}

.score-badge{
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}

.score-badge.excellent{
  background: rgba(76, 175, 80, 0.15);
  color: var(--success);
}

.score-badge.good{
  background: rgba(180, 151, 90, 0.15);
  color: var(--gold);
}

.score-badge.needs-improvement{
  background: rgba(213, 69, 69, 0.15);
  color: var(--error);
}

.category-bars{
  display: flex;
  gap: 4px;
  align-items: center;
}

.category-bar{
  width: 6px;
  height: 24px;
  border-radius: 3px;
  background: #E8E6DE;
  display: block !important;
}

.category-bar.filled{
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
}

.view-details-btn{
  padding: 8px 18px;
  background: none;
  border: 2px solid var(--navy);
  color: var(--navy);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.view-details-btn:hover{
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(28, 31, 42, 0.2);
}

.empty-state{
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

.empty-state svg{
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  color: var(--gold);
  opacity: 0.3;
}

.empty-state h3{
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--navy);
  margin: 0 0 12px 0;
  font-weight: 600;
}

.empty-state p{
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

/* ========================================
   COMPRESSED MOBILE RESPONSIVE STYLES
   ======================================== */

/* Tablet - 1024px and below */
@media (max-width: 1024px){
  .dashboard-content{
    padding: 20px 16px;
  }
  
  .stats-grid{
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
  }
  
  .qr-content{
    grid-template-columns: 1fr;
  }
  
  .qr-placeholder{
    margin: 0 auto;
  }
}

/* Mobile - 768px and below - HIGHLY COMPRESSED */
@media (max-width: 768px){
  /* Header Compression */
  .dashboard-header{
    padding: 16px 12px;
    overflow: visible !important;
    z-index: 100;
  }
  
  .header-container{
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    overflow: visible !important;
  }
  
  .header-left{
    gap: 12px;
  }
  
  .logo-stars{
    gap: 4px;
  }
  
  .logo-star{
    width: 18px;
    height: 18px;
  }
  
  .business-info h1{
    font-size: 20px;
    margin: 0 0 4px 0;
  }
  
  .business-info p{
    font-size: 13px;
  }
  
  .header-right{
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    z-index: 10000 !important;
    overflow: visible !important;
  }

  /* MOBILE DROPDOWN FIX - CRITICAL */
  .account-dropdown {
    z-index: 10001 !important;
    overflow: visible !important;
    position: relative;
  }

  .account-btn{
    padding: 10px 16px;
    font-size: 13px;
    gap: 6px;
    position: relative;
    z-index: 10002;
  }
  
  .account-btn svg{
    width: 16px;
    height: 16px;
  }
  
  .logout-btn{
    padding: 10px 16px;
    font-size: 13px;
    gap: 6px;
  }
  
  .logout-btn svg{
    width: 16px;
    height: 16px;
  }

/* MOBILE DROPDOWN - FIXED POSITION */
  .dropdown-menu {
    position: fixed !important;
    top: 140px !important;
    right: 12px !important;
    left: 12px !important;
    min-width: unset;
    width: auto;
    max-width: calc(100vw - 24px);
    z-index: 999999 !important;
    overflow: visible !important;
  }
  
  .dropdown-menu::before{
    right: 20px;
    top: -8px;
  }
  
  .dropdown-header{
    padding: 12px 16px;
  }
  
  .dropdown-header-title{
    font-size: 11px;
    margin: 0 0 4px 0;
  }
  
  .dropdown-header-email{
    font-size: 13px;
  }
  
  .dropdown-item{
    padding: 12px 16px;
    font-size: 13px;
    gap: 10px;
  }
  
  .dropdown-item svg{
    width: 16px;
    height: 16px;
  }
  
  /* Navigation Compression */
  .dashboard-nav{
    z-index: 50;
  }
  
  .nav-container{
    overflow-x: auto;
    padding: 0 12px;
    -webkit-overflow-scrolling: touch;
  }
  
  .nav-tab{
    white-space: nowrap;
    padding: 14px 16px;
    font-size: 13px;
  }
  
  /* Content Compression */
  .dashboard-content{
    padding: 16px 12px;
    z-index: 1;
  }
  
  /* Stats Grid Compression */
  .stats-grid{
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
  }
  
  .stat-card{
    padding: 18px;
  }
  
  .stat-header{
    margin-bottom: 14px;
  }
  
  .stat-label{
    font-size: 11px;
  }
  
  .stat-icon{
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  
  .stat-icon svg{
    width: 20px;
    height: 20px;
  }
  
  .stat-value{
    font-size: 32px;
    margin-bottom: 6px;
  }
  
  .stat-change{
    font-size: 12px;
  }
  
  /* Quick Actions Compression */
  .quick-actions{
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .quick-actions h2{
    font-size: 20px;
    margin: 0 0 16px 0;
  }
  
  .actions-grid{
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .action-card{
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
  }
  
  .action-icon{
    width: 44px;
    height: 44px;
    margin: 0;
    flex-shrink: 0;
  }
  
  .action-title{
    font-size: 15px;
    margin-bottom: 4px;
  }
  
  .action-desc{
    font-size: 12px;
  }
  
  /* Test Info Card Compression */
  .test-info-card{
    padding: 20px;
    margin-bottom: 16px;
  }
  
  .test-info-header{
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    align-items: flex-start;
  }
  
  .test-info-header h2{
    font-size: 20px;
    margin: 0 0 4px 0;
  }
  
  .test-info-header p{
    font-size: 13px;
  }
  
  .test-status{
    padding: 6px 16px;
    font-size: 11px;
    gap: 6px;
  }
  
  .test-status svg{
    width: 12px;
    height: 12px;
  }
  
  .test-details{
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .detail-item{
    gap: 6px;
  }
  
  .detail-label{
    font-size: 11px;
  }
  
  .detail-value{
    font-size: 16px;
  }
  
  /* QR Section Compression */
  .qr-section{
    padding: 20px;
    margin-bottom: 16px;
  }
  
  .qr-section h3{
    font-size: 18px;
    margin: 0 0 8px 0;
  }
  
  .qr-section p{
    font-size: 13px;
    margin: 0 0 16px 0;
  }
  
  .qr-content{
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .qr-placeholder{
    width: 160px;
    height: 160px;
    margin: 0 auto;
    border-width: 2px;
    font-size: 12px;
    padding: 16px;
  }
  
  .qr-info{
    gap: 14px;
  }
  
  .test-link{
    padding: 12px 14px;
    gap: 10px;
  }
  
  .test-link input{
    font-size: 12px;
  }
  
  .copy-btn{
    padding: 8px 16px;
    font-size: 12px;
  }
  
  .qr-info > div{
    font-size: 12px;
  }
  
  .download-qr-btn{
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .download-qr-btn svg{
    width: 16px;
    height: 16px;
  }
  
  /* Filters Bar Compression */
  .filters-bar{
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .filter-group{
    width: 100%;
    gap: 6px;
  }
  
  .filter-label{
    font-size: 11px;
  }
  
  .filter-select{
    padding: 10px 14px;
    font-size: 13px;
  }
  
  .search-box{
    width: 100%;
  }
  
  .search-box input{
    padding: 10px 14px 10px 38px;
    font-size: 13px;
    background-size: 16px;
    background-position: 12px center;
  }
  
  /* Results Count */
  div[style*="padding: 16px 0"]{
    font-size: 13px !important;
    padding: 12px 0 !important;
  }
  
  /* Table Compression */
  .results-table{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .table-header{
    padding: 16px;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  
  .table-header h3{
    font-size: 18px;
  }
  
  .export-btn{
    padding: 8px 16px;
    font-size: 12px;
    width: 100%;
  }
  
  .export-btn svg{
    width: 12px;
    height: 12px;
  }
  
  table{
    min-width: 640px;
  }
  
  th{
    padding: 12px 8px;
    font-size: 10px;
  }
  
  td{
    padding: 14px 8px;
    font-size: 12px;
  }
  
  /* Adjust column widths for mobile */
  th:nth-child(1), td:nth-child(1) { width: 22%; min-width: 110px; }
  th:nth-child(2), td:nth-child(2) { width: 28%; min-width: 140px; }
  th:nth-child(3), td:nth-child(3) { width: 14%; min-width: 70px; }
  th:nth-child(4), td:nth-child(4) { width: 16%; min-width: 80px; }
  th:nth-child(5), td:nth-child(5) { width: 20%; min-width: 100px; }
  
  td:nth-child(2) {
    max-width: 140px;
    font-size: 11px;
  }
  
  .staff-name{
    font-size: 13px;
  }
  
  .category-bar{
    width: 4px;
    height: 18px;
  }
  
  .view-details-btn{
    padding: 6px 12px;
    font-size: 11px;
    white-space: nowrap;
  }
  
  .score-badge{
    padding: 4px 10px;
    font-size: 11px;
  }
  
  /* Empty State Compression */
  .empty-state{
    padding: 40px 16px;
  }
  
  .empty-state svg{
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
  }
  
  .empty-state h3{
    font-size: 18px;
    margin: 0 0 8px 0;
  }
  
  .empty-state p{
    font-size: 13px;
  }
  
  /* Improve touch targets */
  button, a, .action-card, .nav-tab, .dropdown-item{
    -webkit-tap-highlight-color: rgba(180, 151, 90, 0.2);
  }
  
  /* Hide scrollbars on nav */
  .nav-container::-webkit-scrollbar{
    display: none;
  }
  
  /* Custom scrollbar for table */
  .results-table::-webkit-scrollbar{
    height: 6px;
  }
  
  .results-table::-webkit-scrollbar-thumb{
    background: var(--gold);
    border-radius: 3px;
  }
  
  .results-table::-webkit-scrollbar-track{
    background: #E8E6DE;
  }
  
  /* Prevent text selection on interactive elements */
  .nav-tab, .action-card, button, .dropdown-item{
    -webkit-user-select: none;
    user-select: none;
  }
}

/* Extra Small Mobile - 480px and below - ULTRA COMPRESSED */
@media (max-width: 480px){
  .dashboard-header{
    padding: 12px 10px;
  }
  
  .business-info h1{
    font-size: 18px;
  }
  
  .business-info p{
    font-size: 12px;
  }
  
  .account-btn, .logout-btn{
    padding: 8px 12px;
    font-size: 12px;
  }

  .upgrade-btn{
  padding: 10px 16px;
  font-size: 13px;
  gap: 6px;
  flex: 1;
}

.upgrade-btn svg{
  width: 16px;
  height: 16px;
}
  
  /* Adjust dropdown for smaller screens */
  .dropdown-menu {
    top: 130px !important;
    right: 10px !important;
    min-width: 200px;
  }
  
  .nav-tab{
    padding: 12px 14px;
    font-size: 12px;
  }
  
  .dashboard-content{
    padding: 12px 10px;
  }
  
  .stat-card{
    padding: 16px;
  }
  
  .stat-value{
    font-size: 28px;
  }
  
  .quick-actions{
    padding: 16px;
  }
  
  .quick-actions h2{
    font-size: 18px;
  }
  
  .action-card{
    padding: 16px;
  }
  
  .action-icon{
    width: 38px;
    height: 38px;
  }
  
  .test-info-card, .qr-section{
    padding: 16px;
  }
  
  .test-details{
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .qr-placeholder{
    width: 140px;
    height: 140px;
  }
  
  .filters-bar{
    padding: 14px;
  }
  
  .table-header{
    padding: 14px;
  }
  
  td, th{
    padding: 10px 6px;
    font-size: 11px;
  }
  
  .staff-name{
    font-size: 12px;
  }
  
  .view-details-btn{
    padding: 5px 10px;
    font-size: 10px;
  }
  
  .score-badge{
    padding: 3px 8px;
    font-size: 10px;
  }
}

/* Landscape Mobile Optimization */
@media (max-width: 896px) and (orientation: landscape){
  .dashboard-header{
    padding: 12px 16px;
  }
  
  .stats-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  
  .actions-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  
  .test-details{
    grid-template-columns: repeat(3, 1fr);
  }
}
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=Inter:wght@400;500;600&display=swap');

:root{
  --bg: #F8F6F0;
  --text: #333333;
  --muted: #555555;
  --gold: #B4975A;
  --gold-light: #D4B876;
  --navy: #1C1F2A;
  --white: #FFFFFF;
  --error: #D64545;
  --success: #4CAF50;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.login-page{
  background: linear-gradient(165deg, #F8F6F0 0%, #FFFFFF 50%, #F8F6F0 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.login-page:before{
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(180, 151, 90, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.login-page:after{
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(28, 31, 42, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float{
  0%, 100%{ transform: translate(0, 0) scale(1); }
  50%{ transform: translate(-30px, 30px) scale(1.1); }
}

.login-container{
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 1;
}

.login-header{
  text-align: center;
  margin-bottom: 40px;
}

.logo-container{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease-out;
}

.logo-star{
  width: 32px;
  height: 32px;
  animation: starPulse 2s ease-in-out infinite;
}

.logo-star:nth-child(1){ animation-delay: 0s; }
.logo-star:nth-child(2){ animation-delay: 0.1s; }
.logo-star:nth-child(3){ animation-delay: 0.2s; }
.logo-star:nth-child(4){ animation-delay: 0.3s; }
.logo-star:nth-child(5){ animation-delay: 0.4s; }

@keyframes starPulse{
  0%, 100%{ transform: scale(1); opacity: 1; }
  50%{ transform: scale(1.1); opacity: 0.8; }
}

@keyframes fadeInDown{
  from{
    opacity: 0;
    transform: translateY(-20px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

.login-header h1{
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 6vw, 42px);
  color: var(--navy);
  margin: 0 0 12px 0;
  font-weight: 600;
  animation: fadeInDown 0.6s ease-out 0.1s both;
}

.login-header p{
  color: var(--muted);
  font-size: 16px;
  margin: 0;
  animation: fadeInDown 0.6s ease-out 0.2s both;
}

.login-card{
  background: var(--white);
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: 0 10px 40px rgba(28, 31, 42, 0.1);
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

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

.login-tabs{
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  background: #F8F6F0;
  padding: 6px;
  border-radius: 12px;
}

.login-tab{
  flex: 1;
  padding: 12px 20px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  position: relative;
}

.login-tab:hover{
  color: var(--navy);
}

.login-tab.active{
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(28, 31, 42, 0.08);
}

.trial-badge{
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  vertical-align: middle;
  position: relative;
  overflow: hidden;
}

.trial-badge:before{
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer{
  0%{ transform: translateX(-100%) rotate(45deg); }
  100%{ transform: translateX(100%) rotate(45deg); }
}

.tab-content{
  display: none;
}

.tab-content.active{
  display: block;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn{
  from{ opacity: 0; }
  to{ opacity: 1; }
}

.form-group{
  margin-bottom: 24px;
}

.form-label{
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  font-size: 15px;
}

.input-wrapper{
  position: relative;
}

.form-input{
  width: 100%;
  padding: 15px 50px 15px 16px;
  border: 2px solid #E8E6DE;
  border-radius: 12px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  transition: all 0.3s ease;
  background: var(--white);
}

.form-input::placeholder{
  color: #999;
  opacity: 1;
}

.form-input:focus{
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(180, 151, 90, 0.1);
}

.form-input:focus::placeholder{
  opacity: 0.5;
}

.form-input.error{
  border-color: var(--error);
}

.error-message{
  display: none;
  color: var(--error);
  font-size: 13px;
  margin-top: 8px;
  font-weight: 500;
}

.error-message.show{
  display: block;
  animation: shake 0.4s ease-out;
}

@keyframes shake{
  0%, 100%{ transform: translateX(0); }
  25%{ transform: translateX(-10px); }
  75%{ transform: translateX(10px); }
}

.password-toggle{
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 8px;
  transition: color 0.3s ease;
  z-index: 2;
}

.password-toggle:hover{
  color: var(--navy);
}

.forgot-password{
  text-align: right;
  margin-top: -16px;
  margin-bottom: 24px;
}

.forgot-password a{
  color: var(--gold);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.forgot-password a:hover{
  color: var(--gold-light);
  text-decoration: underline;
}

.remember-me{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.remember-me input[type="checkbox"]{
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
}

.remember-me label{
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}

.login-btn{
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.login-btn:before{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.login-btn:hover:before{
  width: 300px;
  height: 300px;
}

.login-btn:hover:not(:disabled){
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(180, 151, 90, 0.4);
}

.login-btn:disabled{
  opacity: 0.6;
  cursor: not-allowed;
}

.login-btn.loading{
  pointer-events: none;
}

.btn-text{
  position: relative;
  z-index: 1;
}

.spinner{
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

.login-btn.loading .spinner{
  display: block;
}

.login-btn.loading .btn-text{
  display: none;
}

@keyframes spin{
  to{ transform: rotate(360deg); }
}

.help-text{
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #E8E6DE;
}

.help-text p{
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 12px 0;
}

.help-text a{
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.help-text a:hover{
  color: var(--gold-light);
  text-decoration: underline;
}

.success-message{
  display: none;
  padding: 16px 20px;
  background: rgba(76, 175, 80, 0.1);
  border-left: 4px solid var(--success);
  border-radius: 8px;
  color: var(--success);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

.success-message.show{
  display: block;
  animation: fadeIn 0.4s ease-out;
}

.password-hint{
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.terms-text{
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 16px;
  line-height: 1.6;
}

.terms-text a{
  color: var(--gold);
  text-decoration: none;
}

.terms-text a:hover{
  text-decoration: underline;
}

@media (max-width: 480px){
  .login-card{
    padding: 40px 28px;
  }
  
  .login-header h1{
    font-size: 28px;
  }
  
  .form-input{
    padding: 14px 45px 14px 16px;
    font-size: 14px;
  }
}
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=Inter:wght@400;500;600&display=swap');

:root{
  --bg: #F8F6F0;
  --text: #333333;
  --muted: #555555;
  --gold: #B4975A;
  --gold-light: #D4B876;
  --navy: #1C1F2A;
  --white: #FFFFFF;
  --error: #D64545;
  --success: #4CAF50;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.login-page{
  background: linear-gradient(165deg, #F8F6F0 0%, #FFFFFF 50%, #F8F6F0 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.login-page:before{
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(180, 151, 90, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.login-page:after{
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(28, 31, 42, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float{
  0%, 100%{ transform: translate(0, 0) scale(1); }
  50%{ transform: translate(-30px, 30px) scale(1.1); }
}

.login-container{
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 1;
}

.login-header{
  text-align: center;
  margin-bottom: 40px;
}

.logo-container{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease-out;
}

.logo-star{
  width: 32px;
  height: 32px;
  animation: starPulse 2s ease-in-out infinite;
}

.logo-star:nth-child(1){ animation-delay: 0s; }
.logo-star:nth-child(2){ animation-delay: 0.1s; }
.logo-star:nth-child(3){ animation-delay: 0.2s; }
.logo-star:nth-child(4){ animation-delay: 0.3s; }
.logo-star:nth-child(5){ animation-delay: 0.4s; }

@keyframes starPulse{
  0%, 100%{ transform: scale(1); opacity: 1; }
  50%{ transform: scale(1.1); opacity: 0.8; }
}

@keyframes fadeInDown{
  from{
    opacity: 0;
    transform: translateY(-20px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

.login-header h1{
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 6vw, 42px);
  color: var(--navy);
  margin: 0 0 12px 0;
  font-weight: 600;
  animation: fadeInDown 0.6s ease-out 0.1s both;
}

.login-header p{
  color: var(--muted);
  font-size: 16px;
  margin: 0;
  animation: fadeInDown 0.6s ease-out 0.2s both;
}

.login-card{
  background: var(--white);
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: 0 10px 40px rgba(28, 31, 42, 0.1);
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

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

.form-group{
  margin-bottom: 24px;
}

.form-label{
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  font-size: 15px;
}

.input-wrapper{
  position: relative;
}

.form-input{
  width: 100%;
  padding: 15px 50px 15px 16px;
  border: 2px solid #E8E6DE;
  border-radius: 12px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  transition: all 0.3s ease;
  background: var(--white);
}

.form-input::placeholder{
  color: #999;
  opacity: 1;
}

.form-input:focus{
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(180, 151, 90, 0.1);
}

.form-input:focus::placeholder{
  opacity: 0.5;
}

.form-input.error{
  border-color: var(--error);
}

.error-message{
  display: none;
  color: var(--error);
  font-size: 13px;
  margin-top: 8px;
  font-weight: 500;
}

.error-message.show{
  display: block;
  animation: shake 0.4s ease-out;
}

@keyframes shake{
  0%, 100%{ transform: translateX(0); }
  25%{ transform: translateX(-10px); }
  75%{ transform: translateX(10px); }
}

.password-toggle{
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 8px;
  transition: color 0.3s ease;
  z-index: 2;
}

.password-toggle:hover{
  color: var(--navy);
}

.forgot-password{
  text-align: right;
  margin-top: -16px;
  margin-bottom: 24px;
}

.forgot-password a{
  color: var(--gold);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.forgot-password a:hover{
  color: var(--gold-light);
  text-decoration: underline;
}

.remember-me{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.remember-me input[type="checkbox"]{
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
}

.remember-me label{
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}

.login-btn{
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.login-btn:before{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.login-btn:hover:before{
  width: 300px;
  height: 300px;
}

.login-btn:hover:not(:disabled){
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(180, 151, 90, 0.4);
}

.login-btn:disabled{
  opacity: 0.6;
  cursor: not-allowed;
}

.login-btn.loading{
  pointer-events: none;
}

.btn-text{
  position: relative;
  z-index: 1;
}

.spinner{
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

.login-btn.loading .spinner{
  display: block;
}

.login-btn.loading .btn-text{
  display: none;
}

@keyframes spin{
  to{ transform: rotate(360deg); }
}

.help-text{
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #E8E6DE;
}

.help-text p{
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 12px 0;
}

.help-text a{
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.help-text a:hover{
  color: var(--gold-light);
  text-decoration: underline;
}

.success-message{
  display: none;
  padding: 16px 20px;
  background: rgba(76, 175, 80, 0.1);
  border-left: 4px solid var(--success);
  border-radius: 8px;
  color: var(--success);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

.success-message.show{
  display: block;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn{
  from{ opacity: 0; }
  to{ opacity: 1; }
}

@media (max-width: 480px){
  .login-card{
    padding: 40px 28px;
  }
  
  .login-header h1{
    font-size: 28px;
  }
  
  .form-input{
    padding: 14px 45px 14px 16px;
    font-size: 14px;
  }
}
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --bg: #F8F6F0;
  --text: #333333;
  --muted: #555555;
  --gold: #B4975A;
  --gold-light: #D4B876;
  --gold-dark: #9A7D3A;
  --navy: #1C1F2A;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-gold: 0 4px 20px rgba(180, 151, 90, 0.25);
}

* {
  box-sizing: border-box;
}

.generator-premium{
  background: linear-gradient(165deg, #F8F6F0 0%, #FFFFFF 50%, #F8F6F0 100%);
  min-height: 100vh;
  padding: 60px 20px 80px;
  position: relative;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

/* Floating orb animations - matching hero */
.generator-premium:before{
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(180, 151, 90, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

.generator-premium:after{
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(28, 31, 42, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes float{
  0%, 100%{ transform: translate(0, 0) scale(1); }
  50%{ transform: translate(-30px, 30px) scale(1.1); }
}

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

@keyframes pulse{
  0%, 100%{ transform: scale(1); opacity: 1; }
  50%{ transform: scale(1.08); opacity: 0.9; }
}

@keyframes shimmer{
  0%{ background-position: -1000px 0; }
  100%{ background-position: 1000px 0; }
}

/* Back Navigation */
.generator-back-nav{
  max-width: 1200px;
  margin: 0 auto 30px;
  position: relative;
  z-index: 10;
  animation: fadeInUp 0.5s ease-out;
}

.generator-back-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}

.generator-back-link:hover{
  color: var(--gold);
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-4px);
}

.generator-back-link svg{
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.generator-back-link:hover svg{
  transform: translateX(-2px);
}

/* Container */
.generator-container{
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header */
.generator-header{
  text-align: center;
  margin-bottom: 50px;
  animation: fadeInUp 0.6s ease-out;
}

.generator-icon{
  display: inline-block;
  font-size: 72px;
  margin-bottom: 20px;
  animation: pulse 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(180, 151, 90, 0.3));
}

.generator-header h1{
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  margin: 0 0 16px 0;
  background: linear-gradient(135deg, #B4975A 0%, #D4B876 50%, #B4975A 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  line-height: 1.2;
  animation: shimmer 3s linear infinite;
}

.generator-header p{
  font-size: clamp(15px, 2vw, 19px);
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Main Card */
.generator-main{
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: clamp(30px, 5vw, 50px);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(180, 151, 90, 0.15);
  animation: fadeInUp 0.8s ease-out 0.2s both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.generator-main:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Error Message */
.error-message{
  background: linear-gradient(135deg, #FFF3F3 0%, #FFE8E8 100%);
  border: 2px solid #E57373;
  color: #C62828;
  padding: 18px 24px;
  border-radius: 12px;
  margin-bottom: 24px;
  display: none;
  font-weight: 500;
  animation: fadeInUp 0.3s ease-out;
  box-shadow: 0 4px 12px rgba(229, 115, 115, 0.2);
}

.error-message.active{
  display: flex;
  align-items: center;
  gap: 12px;
}

.error-message:before{
  content: '⚠️';
  font-size: 20px;
}

/* Info Box */
.info-box{
  background: linear-gradient(135deg, rgba(180, 151, 90, 0.08) 0%, rgba(212, 184, 118, 0.12) 100%);
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  margin-bottom: 32px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.info-box p{
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}

.info-box strong{
  color: var(--gold);
  font-weight: 600;
}

/* Form Section */
.form-section{
  margin-bottom: 32px;
}

.form-section label{
  display: block;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 16px;
  letter-spacing: 0.2px;
}

.form-section label span{
  color: var(--muted);
  font-weight: 400;
  font-size: 14px;
}

.form-section textarea{
  width: 100%;
  min-height: 220px;
  padding: 20px;
  border: 2px solid rgba(180, 151, 90, 0.2);
  border-radius: 12px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  resize: vertical;
  transition: all 0.3s ease;
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
}

.form-section textarea::placeholder{
  color: #999;
}

.form-section textarea:focus{
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(180, 151, 90, 0.1);
  background: #FEFEFE;
}

/* Settings Grid */
.settings-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.form-group label{
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 15px;
}

.form-group select{
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(180, 151, 90, 0.2);
  border-radius: 12px;
  font-size: 15px;
  background: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  font-weight: 500;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='9' viewBox='0 0 14 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%23B4975A' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 50px;
}

.form-group select:focus{
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(180, 151, 90, 0.1);
  background-color: #FEFEFE;
}

.form-group select:hover:not(:disabled){
  border-color: var(--gold);
}

/* Generate Button */
.generate-btn{
  width: 100%;
  padding: 20px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  border: none;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-gold);
}

.generate-btn:before{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.generate-btn:hover:not(:disabled):before{
  width: 500px;
  height: 500px;
}

.generate-btn:hover:not(:disabled){
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(180, 151, 90, 0.5);
}

.generate-btn:active:not(:disabled){
  transform: translateY(-1px);
}

.generate-btn:disabled{
  background: linear-gradient(135deg, #ccc 0%, #aaa 100%);
  cursor: not-allowed;
  transform: none;
  box-shadow: var(--shadow-sm);
}

.generate-btn span{
  position: relative;
  z-index: 1;
}

.generate-btn .spinner{
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  position: relative;
  z-index: 1;
}

@keyframes spin{
  to{ transform: rotate(360deg); }
}

/* Results Section */
.results-section{
  margin-top: 50px;
  padding-top: 50px;
  border-top: 2px solid rgba(180, 151, 90, 0.15);
  display: none;
  animation: fadeInUp 0.6s ease-out;
}

.results-section.active{
  display: block;
}

.results-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(180, 151, 90, 0.1);
  flex-wrap: wrap;
  gap: 16px;
}

.results-header h2{
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 4vw, 36px);
  color: var(--navy);
  margin: 0;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.select-all-btn{
  padding: 10px 24px;
  background: rgba(180, 151, 90, 0.1);
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 50px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.select-all-btn:hover{
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Question Preview Cards */
.question-preview{
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 246, 240, 0.6) 100%);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(180, 151, 90, 0.15);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.question-preview:hover{
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(180, 151, 90, 0.2);
  transform: translateY(-4px);
}

.question-preview-header{
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.question-checkbox{
  width: 22px;
  height: 22px;
  cursor: pointer;
  margin-top: 4px;
  accent-color: var(--gold);
}

.question-preview-content{
  flex: 1;
}

.question-preview-meta{
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.meta-badge{
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.meta-badge.category{
  background: linear-gradient(135deg, rgba(180, 151, 90, 0.15) 0%, rgba(212, 184, 118, 0.25) 100%);
  color: var(--gold-dark);
  border: 1px solid rgba(180, 151, 90, 0.3);
}

.meta-badge.difficulty{
  background: linear-gradient(135deg, rgba(28, 31, 42, 0.08) 0%, rgba(28, 31, 42, 0.15) 100%);
  color: var(--navy);
  border: 1px solid rgba(28, 31, 42, 0.2);
}

.question-text{
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.5;
}

.question-options{
  list-style: none;
  padding: 0;
  margin: 0;
}

.question-options li{
  padding: 12px 16px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  font-size: 15px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.question-options li:hover{
  background: rgba(255, 255, 255, 1);
  border-color: rgba(180, 151, 90, 0.2);
}

.question-options li.correct{
  background: linear-gradient(135deg, rgba(180, 151, 90, 0.2) 0%, rgba(212, 184, 118, 0.25) 100%);
  border: 2px solid var(--gold);
  font-weight: 600;
  color: var(--navy);
}

/* Action Buttons */
.action-buttons{
  display: flex;
  gap: 16px;
  margin-top: 40px;
}

.action-btn{
  flex: 1;
  padding: 18px;
  border: none;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.action-btn:before{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.action-btn:hover:before{
  width: 500px;
  height: 500px;
}

.action-btn:hover{
  transform: translateY(-3px);
}

.save-btn{
  background: linear-gradient(135deg, var(--navy) 0%, #2A2F3E 100%);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(28, 31, 42, 0.3);
}

.save-btn:hover{
  box-shadow: 0 8px 28px rgba(28, 31, 42, 0.4);
}

.import-btn{
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.import-btn:hover{
  box-shadow: 0 8px 32px rgba(180, 151, 90, 0.5);
}

/* Responsive */
@media (max-width: 768px){
  .generator-premium{
    padding: 40px 20px 60px;
  }

  .generator-main{
    padding: 24px;
    border-radius: 16px;
  }

  .settings-grid{
    grid-template-columns: 1fr;
  }

  .results-header{
    flex-direction: column;
    align-items: flex-start;
  }

  .action-buttons{
    flex-direction: column;
  }

  .question-preview{
    padding: 20px;
  }

  .generator-header h1{
    font-size: 32px;
  }

  .generator-icon{
    font-size: 56px;
  }
}
/* ==========================================================================
   REGISTRATION PAGE STYLES
   ========================================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600&display=swap');

/* CSS Variables */
:root {
  --color-bg: #F8F6F0;
  --color-text: #333333;
  --color-text-muted: #555555;
  --color-gold: #B4975A;
  --color-gold-light: #D4B876;
  --color-navy: #1C1F2A;
  --color-white: #FFFFFF;
  --color-success: #4CAF50;
  --color-error: #D64545;
  --color-border: #E8E6DE;
  
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 24px;
  --radius-full: 50px;
}

/* ==========================================================================
   SECTION LAYOUT
   ========================================================================== */

.registration-section {
  background: linear-gradient(165deg, var(--color-bg) 0%, var(--color-white) 50%, var(--color-bg) 100%);
  padding: 80px 20px 100px;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Decorative Background */
.registration-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(180, 151, 90, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 30px) scale(1.05); }
}

.registration-container {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.registration-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.free-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.12) 0%, rgba(76, 175, 80, 0.08) 100%);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: var(--radius-full);
  margin-bottom: var(--spacing-md);
  animation: fadeInUp 0.6s ease-out;
}

.free-badge svg {
  width: 18px;
  height: 18px;
}

.free-badge span {
  color: var(--color-success);
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font-body);
}

.registration-headline {
  margin: 0 0 var(--spacing-sm) 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 44px);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  animation: fadeInUp 0.7s ease-out 0.1s both;
}

.registration-subheadline {
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: clamp(16px, 2.5vw, 17px);
  color: var(--color-text-muted);
  line-height: 1.6;
  animation: fadeInUp 0.7s ease-out 0.2s both;
}

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

/* ==========================================================================
   FORM CARD
   ========================================================================== */

.registration-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: 0 12px 48px rgba(28, 31, 42, 0.08);
  border: 1px solid rgba(232, 230, 222, 0.5);
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* ==========================================================================
   SOCIAL LOGIN
   ========================================================================== */

.social-login {
  margin-bottom: var(--spacing-lg);
}

.google-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.3s ease;
}

.google-btn:hover {
  border-color: var(--color-gold);
  background: rgba(180, 151, 90, 0.02);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.google-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.google-icon {
  width: 20px;
  height: 20px;
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin: var(--spacing-lg) 0;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 500;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

/* ==========================================================================
   FORM ELEMENTS
   ========================================================================== */

.registration-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.form-label {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  gap: 6px;
}

.required {
  color: var(--color-error);
  font-size: 14px;
}

.optional {
  color: #999;
  font-weight: 400;
  font-size: 13px;
}

.form-input {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 18px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text);
  width: 100%;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(180, 151, 90, 0.1);
}

.form-input::placeholder {
  color: #999;
}

.form-input.error {
  border-color: var(--color-error);
}

/* Password Field */
.password-wrapper {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--color-text-muted);
  transition: color 0.3s ease;
}

.password-toggle:hover {
  color: var(--color-gold);
}

.password-toggle svg {
  width: 20px;
  height: 20px;
}

/* Password Strength */
.password-strength {
  display: none;
  margin-top: 8px;
}

.password-strength.active {
  display: block;
}

.strength-bars {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}

.strength-bar {
  flex: 1;
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  transition: background 0.3s ease;
}

.strength-bar.filled {
  background: var(--color-gold);
}

.strength-bar.filled.weak {
  background: var(--color-error);
}

.strength-bar.filled.medium {
  background: #FFA726;
}

.strength-bar.filled.strong {
  background: var(--color-success);
}

.strength-text {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Help Text */
.help-text {
  font-size: 13px;
  color: var(--color-text-muted);
  font-style: italic;
}

/* ==========================================================================
   SUBMIT BUTTON
   ========================================================================== */

.submit-wrapper {
  margin-top: 8px;
}

.submit-btn {
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(180, 151, 90, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.submit-btn:hover::before {
  width: 400px;
  height: 400px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(180, 151, 90, 0.4);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--color-white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   ERROR & SUCCESS MESSAGES
   ========================================================================== */

.error-message {
  display: none;
  padding: 14px 18px;
  background: rgba(213, 69, 69, 0.05);
  border: 1px solid rgba(213, 69, 69, 0.2);
  border-radius: var(--radius-sm);
  color: var(--color-error);
  font-size: 15px;
  margin-bottom: var(--spacing-md);
  animation: shake 0.4s ease-out;
}

.error-message.active {
  display: flex;
  align-items: center;
  gap: 10px;
}

.error-message svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

/* Success Message */
.success-message {
  display: none;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.08) 0%, rgba(76, 175, 80, 0.04) 100%);
  border: 2px solid rgba(76, 175, 80, 0.3);
  border-radius: var(--radius-md);
  color: var(--color-success);
  margin-bottom: var(--spacing-md);
  animation: fadeInUp 0.4s ease-out;
}

.success-message.active {
  display: block;
}

.success-message-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.success-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.success-icon {
  width: 28px;
  height: 28px;
  background: var(--color-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.success-icon svg {
  width: 18px;
  height: 18px;
  color: white;
  stroke-width: 3;
}

.success-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
}

.success-body {
  padding-left: 40px;
}

.success-text {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.6;
  margin: 0 0 8px 0;
}

.success-email {
  font-weight: 600;
  color: var(--color-gold);
}

.success-note {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text-muted);
  font-style: italic;
  margin: 0;
}

/* Success Button */
.success-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(180, 151, 90, 0.25);
  transition: all 0.3s ease;
}

.success-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(180, 151, 90, 0.35);
}

.success-btn svg {
  transition: transform 0.3s ease;
}

.success-btn:hover svg {
  transform: translateX(4px);
}

.success-redirect-text {
  font-family: var(--font-body);
  font-size: 12px;
  color: #999;
  margin: 12px 0 0 0;
  text-align: center;
}

.success-redirect-text span {
  font-weight: 600;
  color: var(--color-gold);
}

/* ==========================================================================
   FOOTER LINKS
   ========================================================================== */

.form-footer {
  margin-top: var(--spacing-lg);
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(232, 230, 222, 0.5);
}

.signin-link {
  font-size: 15px;
  color: var(--color-text-muted);
}

.signin-link a {
  color: var(--color-gold);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.signin-link a:hover {
  color: var(--color-gold-light);
  text-decoration: underline;
}

/* ==========================================================================
   FEATURES LIST
   ========================================================================== */

.features-list {
  margin-top: var(--spacing-lg);
  padding: var(--spacing-md);
  background: rgba(180, 151, 90, 0.03);
  border-radius: var(--radius-sm);
}

.features-list h4 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.features-grid {
  display: grid;
  gap: 10px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.feature-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-success);
  flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 640px) {
  .registration-section {
    padding: 60px 20px 80px;
  }

  .registration-card {
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: var(--radius-md);
  }

  .form-input {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}
/* ==========================================================================
   REQUEST ACCESS FORM STYLES
   ========================================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600&display=swap');

/* CSS Variables */
:root {
  --color-bg: #F8F6F0;
  --color-text: #333333;
  --color-text-muted: #555555;
  --color-gold: #B4975A;
  --color-gold-light: #D4B876;
  --color-navy: #1C1F2A;
  --color-white: #FFFFFF;
  --color-success: #4CAF50;
  --color-error: #D64545;
  --color-border: #E8E6DE;
  
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 24px;
  --radius-full: 50px;
}

/* ==========================================================================
   SECTION LAYOUT
   ========================================================================== */

.request-access-section {
  background: linear-gradient(165deg, var(--color-bg) 0%, var(--color-white) 50%, var(--color-bg) 100%);
  padding: 80px 20px 100px;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Decorative Background Elements */
.request-access-section::before,
.request-access-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.request-access-section::before {
  top: -30%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(180, 151, 90, 0.06) 0%, transparent 70%);
  animation: float 18s ease-in-out infinite;
}

.request-access-section::after {
  bottom: -20%;
  left: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(28, 31, 42, 0.03) 0%, transparent 70%);
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 20px) scale(1.08); }
}

.request-access-container {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.form-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 8px 20px;
  background: rgba(180, 151, 90, 0.08);
  border-radius: var(--radius-full);
  margin-bottom: var(--spacing-md);
  animation: fadeInUp 0.6s ease-out;
}

.premium-badge svg {
  width: 20px;
  height: 20px;
}

.premium-badge span {
  color: var(--color-gold);
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font-body);
}

.form-headline {
  margin: 0 0 var(--spacing-sm) 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  animation: fadeInUp 0.7s ease-out 0.1s both;
}

.form-subheadline {
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: clamp(16px, 2.5vw, 18px);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 600px;
  animation: fadeInUp 0.7s ease-out 0.2s both;
}

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

/* ==========================================================================
   FORM CARD
   ========================================================================== */

.form-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: 0 12px 48px rgba(28, 31, 42, 0.08);
  border: 1px solid rgba(232, 230, 222, 0.5);
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* ==========================================================================
   FORM ELEMENTS
   ========================================================================== */

.access-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

/* Form Groups */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-row-four {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 16px;
}

/* Labels */
.form-label {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  gap: 6px;
}

.required {
  color: var(--color-error);
  font-size: 14px;
}

.optional {
  color: #999;
  font-weight: 400;
  font-size: 14px;
}

/* Input Fields */
.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 18px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text);
  width: 100%;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(180, 151, 90, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #999;
}

/* Select Dropdown */
.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23B4975A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 45px;
  appearance: none;
}

/* Textarea */
.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Help Text */
.help-text {
  font-size: 14px;
  color: var(--color-text-muted);
  font-style: italic;
}

/* ==========================================================================
   SUBMIT BUTTON
   ========================================================================== */

.submit-wrapper {
  margin-top: var(--spacing-xs);
}

.submit-btn {
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(180, 151, 90, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.submit-btn:hover::before {
  width: 400px;
  height: 400px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(180, 151, 90, 0.4);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--color-white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   MESSAGES
   ========================================================================== */

/* Error Message */
.error-message {
  display: none;
  padding: var(--spacing-sm) 20px;
  background: rgba(213, 69, 69, 0.05);
  border: 1px solid rgba(213, 69, 69, 0.2);
  border-radius: var(--radius-sm);
  color: var(--color-error);
  font-size: 15px;
  margin-bottom: var(--spacing-md);
  animation: shake 0.4s ease-out;
}

.error-message.active {
  display: flex;
  align-items: center;
  gap: 10px;
}

.error-message svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

/* Success Message */
.success-message {
  display: none;
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-lg);
  animation: fadeInUp 0.6s ease-out;
}

.success-message.active {
  display: block;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  background: rgba(76, 175, 80, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 0.5s ease-out;
}

.success-icon svg {
  width: 40px;
  height: 40px;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.success-headline {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 12px 0;
}

.success-text {
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto var(--spacing-lg);
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 12px 28px;
  background: var(--color-white);
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ==========================================================================
   TRUST SIGNALS
   ========================================================================== */

.trust-signals {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(232, 230, 222, 0.5);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--color-text-muted);
  font-size: 14px;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-gold);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
  .request-access-section {
    padding: 60px 20px 80px;
  }

  .form-card {
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: var(--radius-md);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .form-row-four {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .trust-signals {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
}
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=Inter:wght@400;500;600&display=swap');

:root{
  --bg: #F8F6F0;
  --text: #333333;
  --muted: #555555;
  --gold: #B4975A;
  --gold-light: #D4B876;
  --navy: #1C1F2A;
  --white: #FFFFFF;
  --success: #4CAF50;
  --error: #D64545;
  --purple: #6366f1;
  --purple-light: #8b5cf6;
}

.builder-page{
  background: var(--bg);
  min-height: 100vh;
  padding: 40px 20px 80px;
}

.builder-container{
  max-width: 1400px;
  margin: 0 auto;
}

.builder-header{
  background: var(--white);
  padding: 24px 32px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(28, 31, 42, 0.06);
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left h1{
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--navy);
  margin: 0 0 4px 0;
}

.header-left p{
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}

.header-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn{
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary{
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}

.btn-secondary:hover{
  background: var(--navy);
  color: var(--white);
}

.btn-primary{
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
}

.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(180, 151, 90, 0.3);
}

.btn-ai{
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  color: var(--white);
}

.btn-ai:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.builder-layout{
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
}

.builder-sidebar{
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(28, 31, 42, 0.06);
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);  /* ✅ ADD THIS */
  overflow-y: auto;                 /* ✅ ADD THIS */
  overflow-x: hidden;               /* ✅ ADD THIS */
}

/* ✅ ADD THIS - Custom scrollbar styling for sidebar */
.builder-sidebar::-webkit-scrollbar {
  width: 8px;
}

.builder-sidebar::-webkit-scrollbar-track {
  background: #F8F6F0;
  border-radius: 10px;
}

.builder-sidebar::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 10px;
}

.builder-sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--gold-light);
}

.sidebar-section{
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #E8E6DE;
}

.sidebar-section:last-child{
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sidebar-title{
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.question-count{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(180, 151, 90, 0.1);
  border-radius: 8px;
  margin-bottom: 16px;
}

.count-label{
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.count-value{
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
}

.category-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-item{
  padding: 10px 12px;
  margin-bottom: 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-item:hover{
  background: rgba(180, 151, 90, 0.05);
}

.category-item.active{
  background: rgba(180, 151, 90, 0.15);
  color: var(--gold);
  font-weight: 600;
}

.category-name{
  font-size: 14px;
}

.category-badge{
  padding: 2px 8px;
  background: rgba(28, 31, 42, 0.1);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.category-item.active .category-badge{
  background: var(--gold);
  color: var(--white);
}

.builder-main{
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.add-question-card{
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(28, 31, 42, 0.06);
}

.add-question-card h2{
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--navy);
  margin: 0 0 24px 0;
}

.form-grid{
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.form-group{
  display: flex;
  flex-direction: column;
}

.form-group.full-width{
  grid-column: 1 / -1;
}

.form-label{
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 14px;
}

.form-input,
.form-select,
.form-textarea{
  padding: 12px 16px;
  border: 2px solid #E8E6DE;
  border-radius: 10px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus{
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(180, 151, 90, 0.1);
}

.form-textarea{
  resize: vertical;
  min-height: 100px;
}

.image-upload-area{
  border: 2px dashed #E8E6DE;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #FAFAF8;
}

.image-upload-area:hover{
  border-color: var(--gold);
  background: rgba(180, 151, 90, 0.05);
}

.image-upload-area.has-image{
  padding: 0;
  border: none;
  position: relative;
}

.upload-icon{
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  color: var(--gold);
}

.upload-text{
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 4px;
}

.upload-hint{
  font-size: 13px;
  color: var(--muted);
}

.image-preview{
  display: none;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.image-preview.show{
  display: block;
}

.image-preview img{
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.remove-image{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.remove-image:hover{
  background: var(--error);
  transform: scale(1.1);
}

.file-input{
  display: none;
}

.options-container{
  margin-top: 20px;
}

.option-row{
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  align-items: center;
}

.option-input{
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #E8E6DE;
  border-radius: 10px;
  font-size: 15px;
}

.option-radio{
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
  cursor: pointer;
}

.remove-option{
  width: 36px;
  height: 36px;
  background: transparent;
  border: 2px solid #E8E6DE;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.remove-option:hover{
  background: var(--error);
  border-color: var(--error);
  color: white;
}

.add-option-btn{
  padding: 10px 20px;
  background: transparent;
  border: 2px dashed #E8E6DE;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.add-option-btn:hover{
  border-color: var(--gold);
  color: var(--gold);
}

.question-actions{
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #E8E6DE;
}

.questions-list{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.question-card{
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(28, 31, 42, 0.06);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.question-card:hover{
  border-color: var(--gold);
  transform: translateY(-2px);
}

.question-card-header{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.question-meta{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.meta-badge{
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-category{
  background: rgba(180, 151, 90, 0.15);
  color: var(--gold);
}

.badge-type{
  background: rgba(28, 31, 42, 0.1);
  color: var(--navy);
}

.question-card-actions{
  display: flex;
  gap: 8px;
}

.icon-btn{
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.icon-btn:hover{
  background: rgba(180, 151, 90, 0.1);
  color: var(--gold);
}

.icon-btn.delete:hover{
  background: rgba(213, 69, 69, 0.1);
  color: var(--error);
}

.question-image{
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 16px;
}

.question-text{
  font-size: 17px;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 16px;
}

.answer-options{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.answer-option{
  padding: 12px 16px;
  background: #F8F6F0;
  border-radius: 8px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.answer-option.correct{
  background: rgba(76, 175, 80, 0.1);
  border-left: 3px solid var(--success);
  font-weight: 600;
}

.correct-icon{
  color: var(--success);
  font-weight: 700;
}

.empty-state{
  text-align: center;
  padding: 80px 20px;
}

.empty-icon{
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  color: #E8E6DE;
}

.empty-state h3{
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--navy);
  margin: 0 0 12px 0;
}

.empty-state p{
  color: var(--muted);
  font-size: 16px;
}

.inline-actions {
  display: flex;
  gap: 12px;  /* ✅ LÄGG TILL DENNA RAD */
  justify-content: flex-end;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #E8E6DE;
}

@media (max-width: 1024px){
  .builder-layout{
    grid-template-columns: 1fr;
  }
  
  .builder-sidebar{
    position: static;
  }
  
  .form-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px){
  .builder-header{
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  .header-actions{
    width: 100%;
    flex-direction: column;
  }
  
  .btn{
    width: 100%;
    justify-content: center;
  }
}

.import-modal{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease-out;
}

.import-modal.show{
  display: flex;
}

.modal-content{
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease-out;
}

@keyframes fadeIn{
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.modal-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.modal-header h2{
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--navy);
  margin: 0;
}

.close-modal{
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-modal:hover{
  background: rgba(0, 0, 0, 0.05);
  color: var(--navy);
}

.import-tabs{
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  background: #F8F6F0;
  padding: 6px;
  border-radius: 12px;
}

.import-tab{
  flex: 1;
  padding: 12px 20px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.import-tab:hover{
  color: var(--navy);
}

.import-tab.active{
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(28, 31, 42, 0.08);
}

.import-tab-content{
  display: none;
}

.import-tab-content.active{
  display: block;
}

.file-upload-zone{
  border: 2px dashed #E8E6DE;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #FAFAF8;
  margin-bottom: 20px;
}

.file-upload-zone:hover{
  border-color: var(--gold);
  background: rgba(180, 151, 90, 0.05);
}

.file-upload-zone.drag-over{
  border-color: var(--gold);
  background: rgba(180, 151, 90, 0.1);
}

.file-upload-icon{
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--gold);
}

.generated-questions-list{
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 20px;
}

.import-question-item{
  padding: 16px;
  border: 2px solid #E8E6DE;
  border-radius: 10px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.import-question-item:hover{
  border-color: var(--gold);
}

.import-question-item label{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.import-question-item input[type="checkbox"]{
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
}

.import-question-text{
  flex: 1;
}

.import-question-title{
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.import-question-meta{
  font-size: 13px;
  color: var(--muted);
}

.import-actions{
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.select-all-btn{
  padding: 8px 16px;
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.select-all-btn:hover{
  background: rgba(28, 31, 42, 0.05);
}

.btn-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================ */
/* FIVE STAR STANDARDS IMPORT */
/* ============================================ */

.five-star-import-btn {
  width: 100%;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: all 0.3s ease;
  margin-bottom: 12px;
}

.five-star-import-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(180, 151, 90, 0.3);
}

.five-star-import-btn svg:first-child {
  flex-shrink: 0;
}

.dropdown-arrow {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: auto;
}

.five-star-import-btn.active .dropdown-arrow {
  transform: rotate(180deg);
}

.five-star-menu {
  background: #FAFAF8;
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 12px;
}

.five-star-category {
  margin-bottom: 4px;
}

.five-star-category-btn {
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.five-star-category-btn:hover {
  background: rgba(180, 151, 90, 0.1);
}

.subcategory-arrow {
  transition: transform 0.3s ease;
}

.five-star-category-btn.active .subcategory-arrow {
  transform: rotate(90deg);
}

.five-star-subcategories {
  padding-left: 16px;
  margin-top: 4px;
}

.five-star-item {
  width: 100%;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  margin-bottom: 2px;
}

.five-star-item:hover {
  background: rgba(180, 151, 90, 0.15);
  color: var(--gold);
}

.import-count {
  padding: 2px 8px;
  background: rgba(28, 31, 42, 0.1);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.five-star-item:hover .import-count {
  background: var(--gold);
  color: var(--white);
}

.five-star-count {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(180, 151, 90, 0.05);
  border-radius: 8px;
  margin-top: 12px;
  border: 1px solid rgba(180, 151, 90, 0.2);
}

.five-star-remove-all-btn {
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border: 2px solid var(--error);
  color: var(--error);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  margin-bottom: 16px;
}

.five-star-remove-all-btn:hover {
  background: var(--error);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(213, 69, 69, 0.3);
}

.five-star-remove-all-btn svg {
  flex-shrink: 0;
}

/* Category toggle button */
.category-toggle-btn {
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  color: var(--gold);
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-left: 8px;
}

.category-toggle-btn:hover {
  background: rgba(180, 151, 90, 0.1);
}

.category-item.inactive {
  opacity: 0.4;
}

.category-item.inactive .category-toggle-btn {
  color: var(--muted);
}

.category-item.inactive .eye-icon {
  opacity: 0.5;
}

/* Eye slash when inactive */
.category-item.inactive .eye-icon path:first-child {
  display: none;
}

.category-item.inactive .eye-icon::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background: currentColor;
  transform: rotate(-45deg);
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -1px;
}

.category-toggle-btn {
  position: relative;
}

/* ============================================ */
/* BULK ACTIONS */
/* ============================================ */

.bulk-actions-bar {
  background: var(--white);
  border-radius: 12px;
  padding: 16px 24px;
  box-shadow: 0 4px 16px rgba(28, 31, 42, 0.06);
  margin-bottom: 20px;
  display: none;
  align-items: center;
  justify-content: space-between;
  border: 2px solid var(--gold);
}

.bulk-actions-bar.show {
  display: flex;
}

.bulk-actions-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bulk-select-all {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.bulk-select-all input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
  cursor: pointer;
}

.bulk-select-all label {
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  margin: 0;
}

.bulk-selected-count {
  padding: 6px 12px;
  background: rgba(180, 151, 90, 0.15);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
}

.bulk-actions-right {
  display: flex;
  gap: 12px;
}

.btn-bulk-delete {
  padding: 10px 20px;
  background: var(--error);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-bulk-delete:hover {
  background: #c23939;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(213, 69, 69, 0.3);
}

.btn-bulk-cancel {
  padding: 10px 20px;
  background: transparent;
  border: 2px solid var(--muted);
  color: var(--muted);
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-bulk-cancel:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--navy);
  color: var(--navy);
}

/* Question checkbox */
.question-checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
  cursor: pointer;
  margin-right: 12px;
  flex-shrink: 0;
}

.question-accordion {
  position: relative;
}

.accordion-header {
  display: flex;
  align-items: center;
}

.accordion-header-content {
  flex: 1;
}

/* Five Star Standards as category item */
.category-item-expandable {
  flex-direction: column;
  align-items: stretch;
  padding: 0;
}

.category-item-expandable > div:first-child {
  padding: 10px 12px;
}

.five-star-import-menu {
  width: 100%;
}

.category-toggle-btn .dropdown-arrow {
  transition: transform 0.3s ease;
}

.category-toggle-btn.expanded .dropdown-arrow {
  transform: rotate(90deg);
}
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=Inter:wght@400;500;600&display=swap');

:root{
  --bg: #F8F6F0;
  --text: #333333;
  --muted: #555555;
  --gold: #B4975A;
  --gold-light: #D4B876;
  --navy: #1C1F2A;
  --white: #FFFFFF;
}

.test-page{
  background: linear-gradient(165deg, #F8F6F0 0%, #FFFFFF 50%, #F8F6F0 100%);
  min-height: 100vh;
  padding: 40px 20px 60px;
}

.test-container{
  max-width: 750px;
  margin: 0 auto;
}

.test-header{
  text-align: center;
  margin-bottom: 40px;
}

.test-logo{
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
}

.test-star{
  width: 24px;
  height: 24px;
}

.test-title{
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 36px);
  color: var(--navy);
  margin: 0 0 8px 0;
  font-weight: 600;
}

.test-subtitle{
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}

.welcome-card{
  background: var(--white);
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: 0 8px 32px rgba(28, 31, 42, 0.08);
  margin-bottom: 30px;
  text-align: center;
}

.welcome-card.hidden{
  display: none;
}

.welcome-card h2{
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--navy);
  margin: 0 0 16px 0;
}

.welcome-card p{
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 30px 0;
}

.name-input-group{
  margin-bottom: 24px;
}

.name-input{
  width: 100%;
  max-width: 400px;
  padding: 14px 20px;
  border: 2px solid #E8E6DE;
  border-radius: 50px;
  font-size: 16px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

.name-input:focus{
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(180, 151, 90, 0.1);
}

.btn-start{
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  padding: 14px 40px;
  border: none;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-start:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(180, 151, 90, 0.3);
}

.btn-start:disabled{
  opacity: 0.5;
  cursor: not-allowed;
}

.test-form{
  display: none;
}

.test-form.active{
  display: block;
  animation: fadeIn 0.4s ease-out;
}

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

.test-progress{
  background: var(--white);
  border-radius: 12px;
  padding: 16px 24px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 16px rgba(28, 31, 42, 0.06);
}

.progress-text{
  font-weight: 500;
  color: var(--navy);
  font-size: 15px;
}

.progress-bar-container{
  flex: 1;
  max-width: 200px;
  height: 8px;
  background: #E8E6DE;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 20px;
}

.progress-bar{
  height: 100%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  transition: width 0.3s ease;
  border-radius: 10px;
}

.question-card{
  background: var(--white);
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: 0 8px 32px rgba(28, 31, 42, 0.08);
  margin-bottom: 20px;
  display: none;
}

.question-card.active{
  display: block;
  animation: slideIn 0.4s ease-out;
}

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

.question-number{
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.question-text{
  font-size: 20px;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.5;
  margin: 0 0 28px 0;
}

.answer-options{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.answer-option{
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border: 2px solid #E8E6DE;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--white);
}

.answer-option:hover{
  border-color: var(--gold);
  background: rgba(180, 151, 90, 0.05);
}

.answer-option input[type="radio"]{
  width: 20px;
  height: 20px;
  margin-right: 14px;
  accent-color: var(--gold);
  cursor: pointer;
}

.answer-option label{
  flex: 1;
  cursor: pointer;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

.answer-text{
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #E8E6DE;
  border-radius: 12px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  resize: vertical;
  min-height: 120px;
  transition: all 0.3s ease;
}

.answer-text:focus{
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(180, 151, 90, 0.1);
}

.question-nav{
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.btn-nav{
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid var(--navy);
}

.btn-prev{
  background: transparent;
  color: var(--navy);
}

.btn-prev:hover{
  background: var(--navy);
  color: var(--white);
}

.btn-next{
  background: var(--navy);
  color: var(--white);
  flex: 1;
}

.btn-next:hover{
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(28, 31, 42, 0.3);
}

.btn-submit{
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border: none;
  flex: 1;
}

.btn-submit:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(180, 151, 90, 0.3);
}

.completion-card{
  background: var(--white);
  border-radius: 16px;
  padding: 50px 32px;
  box-shadow: 0 8px 32px rgba(28, 31, 42, 0.08);
  text-align: center;
  display: none;
}

.completion-card.active{
  display: block;
  animation: fadeIn 0.6s ease-out;
}

.success-icon{
  width: 70px;
  height: 70px;
  margin: 0 auto 24px;
  color: #4CAF50;
}

.completion-card h2{
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--navy);
  margin: 0 0 16px 0;
}

.completion-card p{
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px){
  .test-page{
    padding: 30px 16px 50px;
  }
  
  .welcome-card,
  .question-card{
    padding: 32px 24px;
  }
  
  .test-progress{
    flex-direction: column;
    gap: 12px;
  }
  
  .progress-bar-container{
    max-width: 100%;
    width: 100%;
    margin: 0;
  }
  
  .question-nav{
    flex-direction: column-reverse;
  }
  
  .btn-nav{
    width: 100%;
  }
}
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600&display=swap');

:root{
  --bg: #F8F6F0;
  --text: #333333;
  --muted: #555555;
  --gold: #B4975A;
  --gold-light: #D4B876;
  --navy: #1C1F2A;
  --white: #FFFFFF;
  --success: #4CAF50;
  --error: #D64545;
}

.preview-page{
  background: linear-gradient(165deg, #F8F6F0 0%, #FFFFFF 50%, #F8F6F0 100%);
  min-height: 100vh;
  padding: 40px 20px 80px;
}

.preview-banner{
  background: var(--gold);
  color: var(--white);
  text-align: center;
  padding: 12px 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.preview-container{
  max-width: 900px;
  margin: 60px auto 0;
}

.test-header{
  background: var(--white);
  padding: 32px;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 4px 16px rgba(28, 31, 42, 0.06);
  text-align: center;
}

.test-logo{
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
}

.test-logo svg{
  width: 28px;
  height: 28px;
}

.test-header h1{
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--navy);
  margin: 0 0 12px 0;
}

.test-header p{
  color: var(--muted);
  margin: 0;
  font-size: 16px;
}

.test-progress{
  background: var(--white);
  padding: 20px 32px;
  border-top: 2px solid #E8E6DE;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.progress-info{
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

.progress-bar-container{
  flex: 1;
  max-width: 400px;
  height: 8px;
  background: #E8E6DE;
  border-radius: 4px;
  margin: 0 20px;
  overflow: hidden;
}

.progress-bar{
  height: 100%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  transition: width 0.3s ease;
  border-radius: 4px;
}

.question-card{
  background: var(--white);
  padding: 40px;
  border-top: 2px solid #E8E6DE;
  box-shadow: 0 4px 16px rgba(28, 31, 42, 0.06);
}

.question-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.question-number{
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.question-category{
  padding: 4px 12px;
  background: rgba(180, 151, 90, 0.1);
  color: var(--gold);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.question-image{
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 24px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.question-text{
  font-size: 20px;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 32px;
  font-weight: 500;
}

.answer-options{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.answer-option{
  padding: 18px 20px;
  border: 2px solid #E8E6DE;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
}

.answer-option:hover{
  border-color: var(--gold);
  background: rgba(180, 151, 90, 0.05);
}

.answer-option.selected{
  border-color: var(--gold);
  background: rgba(180, 151, 90, 0.1);
  font-weight: 600;
}

.option-radio{
  width: 20px;
  height: 20px;
  border: 2px solid #E8E6DE;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.answer-option.selected .option-radio{
  border-color: var(--gold);
}

.answer-option.selected .option-radio:after{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
}

.text-answer-input{
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #E8E6DE;
  border-radius: 12px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  resize: vertical;
  min-height: 120px;
  transition: all 0.3s ease;
}

.text-answer-input:focus{
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(180, 151, 90, 0.1);
}

.navigation-buttons{
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 2px solid #E8E6DE;
}

.nav-btn{
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-btn.secondary{
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}

.nav-btn.secondary:hover{
  background: var(--navy);
  color: var(--white);
}

.nav-btn.primary{
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  border: none;
}

.nav-btn.primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(180, 151, 90, 0.3);
}

.nav-btn:disabled{
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}

.results-screen{
  background: var(--white);
  padding: 60px 40px;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 4px 16px rgba(28, 31, 42, 0.06);
  text-align: center;
  display: none;
}

.results-screen.show{
  display: block;
}

.results-icon{
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
}

.results-icon.pass{
  color: var(--success);
}

.results-icon.fail{
  color: var(--error);
}

.results-screen h2{
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--navy);
  margin: 0 0 16px 0;
}

.score-display{
  font-size: 64px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 24px 0;
}

.results-message{
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.category-breakdown{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.category-result{
  padding: 20px;
  background: #F8F6F0;
  border-radius: 12px;
  text-align: left;
}

.category-name{
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.category-score{
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
}

.results-actions{
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px){
  .preview-container{
    margin-top: 50px;
  }
  
  .test-header,
  .question-card{
    padding: 24px 20px;
  }
  
  .test-progress{
    flex-direction: column;
    gap: 12px;
  }
  
  .progress-bar-container{
    width: 100%;
    margin: 0;
  }
  
  .navigation-buttons{
    flex-direction: column;
  }
  
  .nav-btn{
    width: 100%;
    justify-content: center;
  }
}