/* ==========================================================================
   DYOS™ — Customer Authentication & Account Dashboard Styles
   Modern Luxury Glassmorphism & Sliding Dual-Panel Animation System
   ========================================================================== */

/* Mobile-only Sign In / Create Account tabs (shown in the responsive breakpoint) */
.auth-mobile-switch {
  display: none;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.auth-mobile-switch button {
  flex: 1;
  padding: 0.6rem 0.75rem;
  border: 1.5px solid #C9EF8E;
  border-radius: 10px;
  background: #FFFFFF;
  color: #1E293B;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.auth-mobile-switch button.active {
  background: #0F172A;
  border-color: #0F172A;
  color: #FFFFFF;
}

/* --- Auth Modal Overlay & Containers --- */
.auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 1.5rem;
}

.auth-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Auth Modal Body wrapper */
.auth-modal-wrapper {
  position: relative;
  width: 100%;
  max-width: 1040px;
  min-height: 650px;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(226, 232, 240, 0.85);
  overflow: hidden;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-modal-overlay.active .auth-modal-wrapper {
  transform: scale(1) translateY(0);
}

/* Circular Close Button in Top Right */
.auth-close-btn {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 50;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.auth-close-btn:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
  transform: rotate(90deg);
}

/* ==========================================================================
   Sliding Dual-Panel Auth Container
   ========================================================================== */
.auth-dual-container {
  position: relative;
  width: 100%;
  min-height: 650px;
  overflow: hidden;
  background: #ffffff;
}

.auth-form-container {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  padding: 2.25rem 3.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.65s cubic-bezier(0.77, 0, 0.175, 1);
  box-sizing: border-box;
}

.sign-in-container {
  left: 0;
  z-index: 2;
  opacity: 1;
}

.auth-dual-container.right-panel-active .sign-in-container {
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
}

.sign-up-container {
  left: 0;
  width: 50%;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  justify-content: center;
  padding: 1.25rem 2.85rem;
  overflow: visible;
}

.auth-dual-container.right-panel-active .sign-up-container {
  transform: translateX(100%);
  opacity: 1;
  z-index: 5;
  pointer-events: auto;
  animation: authFadeIn 0.65s ease;
}

@keyframes authFadeIn {
  0%, 49.99% {
    opacity: 0;
    z-index: 1;
  }
  50%, 100% {
    opacity: 1;
    z-index: 5;
  }
}

/* ==========================================================================
   Overlay Sliding Window (Pastel Periwinkle / Lavender Theme)
   ========================================================================== */
.auth-overlay-container {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  overflow: hidden;
  transition: transform 0.65s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 10;
}

.auth-dual-container.right-panel-active .auth-overlay-container {
  transform: translateX(-100%);
}

.auth-overlay {
  position: relative;
  left: -100%;
  height: 100%;
  width: 200%;
  background: linear-gradient(145deg, #F3FFE0 0%, #E6F9C8 40%, #D5F2A4 100%);
  color: #0f172a;
  transform: translateX(0);
  transition: transform 0.65s cubic-bezier(0.77, 0, 0.175, 1);
}

.auth-dual-container.right-panel-active .auth-overlay {
  transform: translateX(50%);
}

.auth-overlay-panel {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 1.5rem 3rem;
  text-align: center;
  top: 0;
  height: 100%;
  width: 50%;
  transform: translateX(0);
  transition: transform 0.65s cubic-bezier(0.77, 0, 0.175, 1);
  box-sizing: border-box;
}

.overlay-left {
  transform: translateX(-20%);
}

.auth-dual-container.right-panel-active .overlay-left {
  transform: translateX(0);
}

.overlay-right {
  right: 0;
  transform: translateX(0);
}

.auth-dual-container.right-panel-active .overlay-right {
  transform: translateX(20%);
}

/* Overlay Titles, Subtitles & Buttons */
.overlay-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.025em;
  margin: 1.15rem 0 0.5rem;
  line-height: 1.2;
}

.overlay-title-accent {
  background: linear-gradient(135deg, #0F172A 0%, #3F7A00 50%, #3F7A00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.overlay-desc {
  font-size: 0.94rem;
  line-height: 1.55;
  color: #374151;
  max-width: 360px;
  margin: 0 auto 1.65rem;
  font-weight: 500;
}

/* Translucent Pill Button in "Hello, Designer!" (Image 1) */
.btn-overlay-create {
  background: #0F172A;
  border: 2px solid #0F172A;
  color: #FFFFFF;
  border-radius: 9999px;
  padding: 0.75rem 2.2rem;
  font-size: 0.98rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(95, 174, 0, 0.15);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-family: inherit;
}

.btn-overlay-create:hover {
  background: #1E293B;
  color: #FFFFFF;
  border-color: #1E293B;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(95, 174, 0, 0.25);
}

/* Outline Pill Button in "Already a Creator?" (Image 2) */
.btn-overlay-signin {
  background: #FFFFFF;
  border: 2px solid #3F7A00;
  color: #3F7A00;
  border-radius: 14px;
  padding: 0.7rem 2.2rem;
  font-size: 0.98rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(95, 174, 0, 0.12);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.btn-overlay-signin:hover {
  background: #F3FFE0;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(95, 174, 0, 0.2);
}

.signin-icon {
  font-size: 1.1rem;
  line-height: 1;
}

/* Corner Waves in Modal */
.corner-wave {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.corner-wave-bottom-left {
  bottom: 0;
  left: 0;
  width: 220px;
  height: 140px;
}

.corner-wave-bottom-right {
  bottom: 0;
  right: 0;
  width: 260px;
  height: 160px;
}

/* Artwork SVG Container */
.auth-artwork-wrapper {
  width: 100%;
  max-width: 370px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.artwork-svg {
  width: 100%;
  height: auto;
  max-height: 230px;
  overflow: visible;
}

/* ==========================================================================
   Form Top Navigation, Headers & Controls
   ========================================================================== */
.auth-top-nav {
  margin-bottom: 1.15rem;
  display: flex;
  align-items: center;
}

.auth-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748B;
  text-decoration: none;
  transition: all 0.18s ease;
}

.auth-back-link:hover {
  color: #0F172A;
  transform: translateX(-2px);
}

.auth-header {
  margin-bottom: 1.35rem;
  position: relative;
  z-index: 2;
}

.auth-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.025em;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.2;
}

.wave-emoji {
  display: inline-block;
  font-size: 2rem;
  animation: waveHand 2.2s infinite;
  transform-origin: 70% 70%;
}

@keyframes waveHand {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
  60% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

.auth-subtitle {
  font-size: 0.95rem;
  color: #64748B;
  line-height: 1.45;
  font-weight: 400;
  margin: 0;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* High-Fidelity Rounded Input Field Cards */
.auth-field-card {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 0.4rem 0.75rem 0.4rem 0.55rem;
  gap: 0.75rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  box-sizing: border-box;
}

.auth-field-card:focus-within {
  border-color: #3F7A00;
  box-shadow: 0 0 0 3px rgba(95, 174, 0, 0.12);
  background: #FFFFFF;
}

.field-icon-pill {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #F3FFE0;
  color: #3F7A00;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.auth-clean-input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.95rem;
  color: #0F172A;
  font-family: inherit;
  font-weight: 500;
  padding: 0.45rem 0;
}

.auth-clean-input::placeholder {
  color: #94A3B8;
  font-weight: 400;
}

/* Phone Field with Country Pill */
.phone-field-card .phone-input-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
}

.phone-country-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 2px;
}

/* Password Eye Toggle */
.pwd-eye-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #64748B;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.pwd-eye-btn:hover {
  color: #0F172A;
}

/* Meta Row (Remember Me & Forgot Password) */
.auth-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.35rem 0 0.85rem;
  font-size: 0.88rem;
}

.clean-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 500;
  user-select: none;
}

.clean-checkbox-label input[type="checkbox"] {
  accent-color: #3F7A00;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  cursor: pointer;
}

.auth-link-forgot {
  color: #0F172A;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.auth-link-forgot:hover {
  color: #1E293B;
  text-decoration: underline;
}

/* Gradient Primary Action Button */
.auth-btn-gradient {
  width: 100%;
  padding: 0.92rem 1.5rem;
  background: linear-gradient(135deg, #0F172A 0%, #3F7A00 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.02rem;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 6px 18px rgba(95, 174, 0, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.auth-btn-gradient:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(95, 174, 0, 0.45);
}

.auth-btn-gradient:active {
  transform: translateY(0);
}

/* "OR" Divider */
.auth-or-divider {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1.15rem 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: #E2E8F0;
}

.divider-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.05em;
}

/* Instant VIP Demo Card */
.vip-demo-card {
  background: #F0FDF4;
  border: 1.5px solid #BBF7D0;
  border-radius: 16px;
  padding: 0.75rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.vip-demo-card:hover {
  background: #DCFCE7;
  border-color: #86EFAC;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.12);
}

.vip-demo-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.vip-lightning-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #D1FAE5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vip-demo-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #065F46;
}

.vip-demo-sub {
  font-size: 0.8rem;
  color: #047857;
  margin-top: 1px;
}

.vip-demo-action {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: #059669;
  font-weight: 700;
  font-size: 0.86rem;
}

/* ==========================================================================
   Sign Up Vertical Stack, Strength Meter & Checklist Card
   ========================================================================== */
.sign-up-container .auth-header {
  margin-bottom: 0.65rem;
}

.sign-up-container .auth-title {
  font-size: 1.85rem;
  margin-bottom: 0.15rem;
}

.sign-up-container .auth-subtitle {
  font-size: 0.85rem;
}

.sign-up-container .auth-form {
  gap: 0;
}

.signup-fields-vertical,
.signup-fields-grid {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  width: 100%;
}

.sign-up-container .auth-field-card {
  padding: 0.32rem 0.75rem 0.32rem 0.55rem;
  border-radius: 12px;
  min-height: 38px;
}

.sign-up-container .field-icon-pill {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 0.85rem;
}

.sign-up-container .auth-clean-input {
  padding: 0.25rem 0;
  font-size: 0.88rem;
}

.sign-up-container .strength-meter-section {
  margin: 0.3rem 0 0.22rem;
  width: 100%;
}

.strength-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: #64748B;
  margin-bottom: 0.2rem;
}

.strength-weak {
  color: #0F172A;
  font-weight: 800;
}

.strength-fair {
  color: #F59E0B;
  font-weight: 800;
}

.strength-good {
  color: #3B82F6;
  font-weight: 800;
}

.strength-strong {
  color: #10B981;
  font-weight: 800;
}

.pwd-hint-text {
  font-size: 0.76rem;
  color: #64748B;
  font-weight: 500;
}

.strength-track {
  width: 100%;
  height: 4px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
}

.strength-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.3s ease, background 0.3s ease;
}

/* 5-Point Security Checklist Box */
.pwd-checklist-card {
  background: #F8FAFC;
  border: 1px solid #DDF7B0;
  border-radius: 10px;
  padding: 0.35rem 0.75rem;
  margin: 0.22rem 0 0.32rem;
  width: 100%;
  box-sizing: border-box;
}

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem 0.65rem;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: #334155;
  font-weight: 500;
}

.check-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #5FAE00;
  color: #3F7A00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #FFFFFF;
  transition: all 0.2s ease;
}

.checklist-item.met .check-circle {
  background: #3F7A00;
  border-color: #3F7A00;
  color: #FFFFFF;
}

.checklist-item.met {
  color: #0F172A;
  font-weight: 600;
}

/* Legal Checkboxes Group */
.signup-legal-group {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  margin: 0.22rem 0 0.55rem;
}

.signup-legal-group .clean-checkbox-label {
  font-size: 0.76rem;
  gap: 0.45rem;
}

.signup-legal-group .clean-checkbox-label input[type="checkbox"] {
  width: 14px;
  height: 14px;
}

.sign-up-container .auth-btn-gradient {
  padding: 0.72rem 1.4rem;
  font-size: 0.98rem;
  border-radius: 12px;
}

.signup-legal-group a {
  color: #0F172A;
  font-weight: 700;
  text-decoration: none;
}

.signup-legal-group a:hover {
  text-decoration: underline;
}

/* Social Login Divider */
.social-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #94a3b8;
  font-size: 0.8rem;
  margin: 1.25rem 0;
}

.social-divider::before,
.social-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}

.social-divider span {
  padding: 0 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Social Buttons Grid */
.social-btn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.social-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

/* Error Shake Effect */
@keyframes shakeError {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.shake {
  animation: shakeError 0.4s ease-in-out;
}

/* ==========================================================================
   CUSTOMER ACCOUNT DASHBOARD (Logged-In View)
   ========================================================================== */
.account-hero-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 60%, #0F172A 100%);
  border-radius: 24px;
  padding: 2.5rem;
  color: #ffffff;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.3);
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.account-hero-card::after {
  content: '👕';
  position: absolute;
  right: 2rem;
  bottom: -1rem;
  font-size: 9rem;
  opacity: 0.07;
  pointer-events: none;
}

.account-profile-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.account-avatar-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.account-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 25px rgba(129, 140, 248, 0.5);
  background: #ffffff;
  object-fit: cover;
}

.account-details h2 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: #ffffff;
}

.account-details p {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.vip-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fef08a;
  margin-top: 0.5rem;
}

/* Quick Metrics Bar */
.account-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.account-stat-card {
  text-align: left;
}

.account-stat-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
}

.account-stat-lbl {
  font-size: 0.78rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* Account Navigation Tabs */
.account-tabs-nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 2rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.account-tab-btn {
  padding: 0.9rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #64748b;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.account-tab-btn:hover {
  color: #0F172A;
}

.account-tab-btn.active {
  color: #0F172A;
}

.account-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #0F172A;
  border-radius: 3px 3px 0 0;
}

/* Tab Panels */
.account-tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.account-tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Saved Design Card */
.saved-design-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.saved-design-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.saved-design-preview {
  background: #f8fafc;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.saved-design-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Confetti Burst Container */
#auth-confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 10000;
}

/* Header Authentication Controls */
.header-auth-container {
  display: inline-flex;
  align-items: center;
}

.header-auth-group {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.header-auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.header-btn-login {
  background: transparent;
  color: #334155;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  padding: 0.42rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.header-btn-login:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #0F172A;
}

.header-btn-signup {
  background: #0F172A;
  color: #FFFFFF;
  border: 1px solid #0F172A;
  border-radius: 999px;
  padding: 0.42rem 1.05rem;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
}

.header-btn-signup:hover {
  background: #1E293B;
  border-color: #1E293B;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.35);
}

.header-btn-signup:active {
  transform: translateY(0);
}

.header-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #F3FFE0;
  color: #1E293B;
  border: 1px solid #C9EF8E;
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.header-user-btn:hover {
  background: #DDF7B0;
  border-color: #A8E066;
}

.user-dropdown-header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #F1F5F9;
}

.user-dropdown-sub {
  font-size: 0.75rem;
  color: #64748B;
  font-weight: 500;
}

.user-dropdown-email {
  font-weight: 700;
  color: #0F172A;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.dropdown-item.logout-item {
  color: #EF4444;
}

.dropdown-item.logout-item:hover {
  background: #FEF2F2;
  color: #DC2626;
}

/* User dropdown menu in header */
.user-dropdown {
  position: relative;
  display: inline-block;
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 230px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

.user-dropdown.open .user-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-item:hover {
  background: #f1f5f9;
  color: #0F172A;
}

.dropdown-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 0.4rem 0;
}

/* Responsive Breakpoints */
@media (max-width: 820px) {
  .auth-modal-wrapper {
    max-width: 480px;
    min-height: auto;
  }
  
  .auth-overlay-container {
    display: none;
  }
  
  .sign-in-container,
  .sign-up-container {
    position: relative;
    width: 100% !important;
    left: 0 !important;
    transform: none !important;
    opacity: 1 !important;
    padding: 2rem 1.5rem;
  }

  .sign-up-container {
    display: none;
  }

  .auth-dual-container.right-panel-active .sign-in-container {
    display: none;
  }

  .auth-dual-container.right-panel-active .sign-up-container {
    display: flex;
    pointer-events: auto;
  }

  .auth-mobile-switch {
    display: flex;
  }

  .account-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .signup-fields-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Password Strength Requirements Checklist --- */
.pwd-requirements-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.5rem;
  margin: 0.5rem 0 0.85rem;
  padding: 0.65rem 0.85rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.75rem;
  color: #64748b;
}

.pwd-req-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
}

.pwd-req-item.met {
  color: #10b981;
  font-weight: 700;
}

.pwd-req-item.met .req-icon {
  background: #10b981;
  color: #fff;
  border-color: #10b981;
}

.pwd-req-item .req-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  flex-shrink: 0;
}

.pwd-meter-fill.fair {
  width: 50%;
  background: #f59e0b;
}

.pwd-meter-fill.good {
  width: 75%;
  background: #3b82f6;
}

.pwd-meter-fill.strong {
  width: 100%;
  background: #10b981;
}

/* --- Lockout Cooldown Banner --- */
.lockout-alert-box {
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  color: #991b1b;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.lockout-timer {
  font-weight: 800;
  font-family: monospace;
  color: #dc2626;
}

/* --- Active Sessions Table --- */
.sessions-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 1.25rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.session-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.session-item:last-child {
  border-bottom: none;
}

.session-device-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.session-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #F3FFE0;
  color: #1E293B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}


