/* ============================================================
   PREMIUM AUTH SCREEN STYLES
   Elite, Professional, Modern Design - Brand Colors
   ============================================================ */

/* Typography - Regular Fonts Only */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Auth Container - Split Layout */
.auth-container {
  height: 100vh;
  max-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  background: 
    linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(14, 165, 233, 0.05) 50%, rgba(124, 58, 237, 0.05) 100%),
    url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1f?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
}

[data-theme="dark"] .auth-container {
  background: 
    linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(14, 165, 233, 0.08) 50%, rgba(124, 58, 237, 0.08) 100%),
    url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1f?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
}

/* Left Side - Benefits */
.auth-left {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.benefits-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.benefits-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, rgba(124, 58, 237, 0.35) 0%, rgba(14, 165, 233, 0.30) 25%, rgba(124, 58, 237, 0.28) 50%, rgba(14, 165, 233, 0.32) 75%, rgba(124, 58, 237, 0.30) 100%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.65) 100%);
  z-index: 1;
}

/* Animated Flares */
.flares-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
}

.flare {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.3), transparent);
  filter: blur(30px);
  animation: flareFloat 8s ease-in-out infinite;
  opacity: 0.8;
}

.flare-1 {
  width: 250px;
  height: 250px;
  top: 10%;
  left: 15%;
  animation-delay: 0s;
  opacity: 0.9;
}

.flare-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  left: 20%;
  animation-delay: 2s;
  opacity: 0.85;
}

.flare-3 {
  width: 220px;
  height: 220px;
  top: 30%;
  right: 15%;
  animation-delay: 4s;
  opacity: 0.9;
}

.flare-4 {
  width: 180px;
  height: 180px;
  bottom: 20%;
  right: 25%;
  animation-delay: 1s;
  opacity: 0.8;
}

.flare-5 {
  width: 210px;
  height: 210px;
  top: 50%;
  left: 50%;
  animation-delay: 3s;
  opacity: 0.85;
}

@keyframes flareFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  25% {
    transform: translate(30px, -30px) scale(1.1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-20px, 20px) scale(0.9);
    opacity: 0.4;
  }
  75% {
    transform: translate(20px, 30px) scale(1.05);
    opacity: 0.5;
  }
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.float-element {
  position: absolute;
  opacity: 0.4;
  animation: floatElement 12s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.float-1 {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.float-2 {
  top: 45%;
  right: 12%;
  animation-delay: 4s;
}

.float-3 {
  bottom: 25%;
  left: 15%;
  animation-delay: 8s;
}

@keyframes floatElement {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.15;
  }
  33% {
    transform: translate(20px, -30px) rotate(120deg);
    opacity: 0.25;
  }
  66% {
    transform: translate(-15px, 20px) rotate(240deg);
    opacity: 0.2;
  }
}

[data-theme="dark"] .image-overlay {
  background: 
    linear-gradient(135deg, rgba(124, 58, 237, 0.30) 0%, rgba(14, 165, 233, 0.25) 50%, rgba(124, 58, 237, 0.22) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.85) 100%);
}

.benefits-content {
  position: relative;
  z-index: 2;
  padding: 50px 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  overflow-y: auto;
  padding-bottom: 80px;
}

.benefits-cards-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 70%;
  width: 100%;
}

/* Floating Benefit Cards - Redesigned with Flip Effect */
.benefit-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 0;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  perspective: 1000px;
  height: 140px;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
  transform: rotate(45deg);
  transition: all 0.6s;
  opacity: 0;
}

.benefit-card:hover::before {
  opacity: 1;
  animation: glareMove 1.5s ease-in-out;
}

@keyframes glareMove {
  0% {
    left: -50%;
    top: -50%;
  }
  100% {
    left: 150%;
    top: 150%;
  }
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.benefit-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 14px;
  top: 0;
  left: 0;
}

.card-back {
  transform: rotateY(180deg);
  align-items: center;
  text-align: center;
}

.card-details {
  font-size: 12px;
  color: rgba(255, 255, 255, 1);
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.benefit-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.3) inset,
    0 0 20px rgba(255, 255, 255, 0.2);
}

.benefit-icon-large {
  width: 36px;
  height: 36px;
  margin: 0 0 12px 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}

.benefit-icon-large svg {
  width: 20px;
  height: 20px;
}

.card-front .benefit-icon-large {
  position: relative;
  z-index: 2;
}

.card-front h3,
.card-front p {
  position: relative;
  z-index: 2;
}

.benefit-card:hover .benefit-icon-large {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.benefit-card h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: rgba(255, 255, 255, 1);
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.benefit-card p {
  font-size: 11px;
  color: rgba(255, 255, 255, 1);
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Corner Icon with Rainbow Colors */
.benefit-icon-corner {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  z-index: 10;
}

.icon-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #6366f1, #0ea5e9);
  box-shadow: 0 3px 10px rgba(124, 58, 237, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.9);
}

/* Shaking Animation - Slower */
.shaking-icon {
  animation: shakeIcon 5s ease-in-out infinite;
}

.floating-card:nth-child(1) .shaking-icon {
  animation-delay: 0s;
}

.floating-card:nth-child(2) .shaking-icon {
  animation-delay: 1.25s;
}

.floating-card:nth-child(3) .shaking-icon {
  animation-delay: 2.5s;
}

.floating-card:nth-child(4) .shaking-icon {
  animation-delay: 3.75s;
}

@keyframes shakeIcon {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translate(-1px, -1px) rotate(-1deg);
  }
  20%, 40%, 60%, 80% {
    transform: translate(1px, 1px) rotate(1deg);
  }
}

.floating-card {
  animation: floatCard 8s ease-in-out infinite;
}

.floating-card:nth-child(1) {
  animation-delay: 0s;
}

.floating-card:nth-child(2) {
  animation-delay: 2s;
}

.floating-card:nth-child(3) {
  animation-delay: 4s;
}

.floating-card:nth-child(4) {
  animation-delay: 6s;
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}


.benefits-header {
  margin-bottom: 40px;
}

.benefits-title {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 10px 0;
  color: rgba(255, 255, 255, 0.98);
  letter-spacing: -0.02em;
  font-family: 'Inter', sans-serif;
  line-height: 1.2;
}

.benefits-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.benefit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s var(--ease);
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.95);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.benefit-content {
  flex: 1;
  padding-top: 2px;
}

.benefit-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: rgba(255, 255, 255, 0.98);
  letter-spacing: -0.01em;
}

.benefit-content p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
}

.excellence-box {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.excellence-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.3);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.95);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.excellence-box h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: rgba(255, 255, 255, 0.98);
  letter-spacing: -0.01em;
}

.excellence-box p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Right Side - Auth Form */
.auth-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 40px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow-y: auto;
  max-height: 100vh;
}

[data-theme="dark"] .auth-right {
  background: rgba(12, 20, 38, 0.95);
}

/* Auth Card */
.auth-card {
  width: 100%;
  max-width: 480px;
  position: relative;
  padding: 0;
}

/* Header */
.auth-header {
  text-align: center;
  margin-bottom: 12px;
}

.logo-container {
  display: inline-block;
  margin-bottom: 10px;
}

.auth-logo-large {
  height: 82px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(124, 58, 237, 0.25));
  display: block;
  transition: all 0.3s var(--ease);
}

[data-theme="dark"] .logo-container {
  background: rgba(255, 255, 255, 0.95);
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .auth-logo-large {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.auth-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: var(--text);
  letter-spacing: -0.01em;
  font-family: 'Inter', sans-serif;
}

.auth-subtitle {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}

/* Auth Tabs */
.auth-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  background: rgba(124, 58, 237, 0.06);
  padding: 5px;
  border-radius: 12px;
  border: 1px solid rgba(124, 58, 237, 0.15);
}

[data-theme="dark"] .auth-tabs {
  background: rgba(124, 58, 237, 0.10);
  border-color: rgba(124, 58, 237, 0.25);
}

.auth-tab {
  flex: 1;
  padding: 10px 18px;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  position: relative;
}

.auth-tab.active {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.95), rgba(124, 58, 237, 0.85));
  color: white;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.auth-tab:not(.active):hover {
  background: rgba(124, 58, 237, 0.1);
  color: var(--text);
}

/* Auth Steps */
.auth-step {
  display: none;
  padding: 0;
}

.auth-step.active {
  display: block;
  animation: fadeInUp 0.4s var(--ease);
}

/* Signup Steps */
.signup-step {
  display: none;
  animation: fadeInUp 0.4s var(--ease);
}

.signup-step.active {
  display: block;
}

.signup-step-header {
  position: relative;
  margin-bottom: 20px;
  padding-top: 10px;
}

.signup-step-header .back-btn {
  position: absolute;
  left: 0;
  top: 10px;
  background: rgba(124, 58, 237, 0.1);
  border: none;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--brand3);
  transition: all 0.2s var(--ease);
}

.signup-step-header .back-btn:hover {
  background: rgba(124, 58, 237, 0.2);
  transform: translateX(-2px);
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  text-align: center;
  padding: 0 50px;
}

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

/* Social Login Icons */
.social-login-icons {
  margin-top: 8px;
  text-align: center;
}

.social-login-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 12px 0;
}

.social-icons-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
}

.social-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 2px solid rgba(124, 58, 237, 0.15);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  padding: 0;
}

[data-theme="dark"] .social-icon-btn {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(124, 58, 237, 0.25);
}

.social-icon-btn:hover {
  border-color: rgba(124, 58, 237, 0.4);
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.2);
}

[data-theme="dark"] .social-icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.social-icon-btn svg {
  width: 22px;
  height: 22px;
}

/* Auth Switch */
.auth-switch {
  text-align: center;
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

.auth-switch .link-text {
  margin-left: 6px;
  font-weight: 700;
  border: none;
  background: none;
  padding: 0;
  outline: none;
  box-shadow: none;
}

/* Form Styles */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}

.form-row .form-group {
  margin-bottom: 0;
}

.scrollable-form {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  padding-right: 8px;
  padding-top: 2px;
  padding-bottom: 2px;
}

.scrollable-form::-webkit-scrollbar {
  width: 6px;
}

.scrollable-form::-webkit-scrollbar-track {
  background: transparent;
}

.scrollable-form::-webkit-scrollbar-thumb {
  background: rgba(124, 58, 237, 0.2);
  border-radius: 10px;
}

.scrollable-form::-webkit-scrollbar-thumb:hover {
  background: rgba(124, 58, 237, 0.3);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}

.label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
}

/* Premium Input Styles - Smaller/Thicker */
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--muted);
  z-index: 1;
  pointer-events: none;
}

.premium-input {
  width: 100%;
  padding: 10px 13px 10px 40px;
  border-radius: 11px;
  border: 2px solid rgba(124, 58, 237, 0.15);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  outline: none;
  transition: all 0.3s var(--ease);
  font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .premium-input {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(124, 58, 237, 0.25);
}

.premium-input:focus {
  border-color: rgba(124, 58, 237, 0.5);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 0 0 4px rgba(124, 58, 237, 0.1),
    0 4px 12px rgba(124, 58, 237, 0.15);
  transform: translateY(-1px);
}

[data-theme="dark"] .premium-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(124, 58, 237, 0.4);
}

.premium-input::placeholder {
  color: var(--muted);
  opacity: 0.6;
}

/* Password Toggle */
.password-toggle {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s var(--ease);
}

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

/* Premium Select */
.select-wrapper {
  position: relative;
}

.select-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  z-index: 1;
  pointer-events: none;
}

.premium-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  cursor: pointer;
}

.select-wrapper::after {
  content: '▼';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
}

/* Premium Button - Brand Colors */
.premium-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  min-height: 44px;
  border-radius: 11px;
  border: none;
  background: linear-gradient(135deg, #7c3aed, #6366f1);
  color: white;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  box-shadow: 
    0 4px 16px rgba(124, 58, 237, 0.3),
    0 0 0 0 rgba(124, 58, 237, 0.2);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.premium-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s var(--ease);
}

.premium-btn:hover::before {
  left: 100%;
}

.premium-btn:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 24px rgba(124, 58, 237, 0.4),
    0 0 0 4px rgba(124, 58, 237, 0.15);
}

.premium-btn:active {
  transform: translateY(0);
}

.premium-btn svg {
  transition: transform 0.3s var(--ease);
}

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

.premium-btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 12px;
  border: 2px solid rgba(124, 58, 237, 0.4);
  background: rgba(124, 58, 237, 0.05);
  color: var(--brand3);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.premium-btn-outline:hover {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.6);
  transform: translateY(-1px);
}

/* Form Options */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -8px;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.checkbox-wrapper input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--brand3);
}

.link-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand3);
  text-decoration: none;
  transition: color 0.2s var(--ease);
  border: none;
  background: none;
  padding: 0;
  outline: none;
  box-shadow: none;
  cursor: pointer;
}

.link-text:hover {
  color: #6366f1;
  text-decoration: underline;
}

/* Rainbow Shield Section */
.rainbow-shield-section {
  padding: 18px;
  border-radius: 14px;
  border: 2px solid rgba(124, 58, 237, 0.2);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(14, 165, 233, 0.05));
  margin-top: 12px;
}

[data-theme="dark"] .rainbow-shield-section {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(14, 165, 233, 0.08));
  border-color: rgba(124, 58, 237, 0.3);
}

.shield-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.rainbow-shield-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rainbow-shield-option {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rainbow-shield-option input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--brand3);
}

.rainbow-shield-option label {
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  color: var(--text);
}

.verification-message {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  display: none;
  animation: slideIn 0.3s var(--ease);
}

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

.verification-message.success {
  display: block;
  background: rgba(22, 163, 74, 0.15);
  border: 2px solid rgba(22, 163, 74, 0.3);
  color: #16a34a;
}

.verification-message.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 2px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* OTP Styles */
.otp-header {
  text-align: center;
  margin-bottom: 20px;
  margin-top: 40px;
  position: relative;
}

.back-btn {
  position: absolute;
  left: 0;
  top: 0;
  background: rgba(124, 58, 237, 0.1);
  border: none;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--brand3);
  transition: all 0.2s var(--ease);
}

.back-btn:hover {
  background: rgba(124, 58, 237, 0.2);
  transform: translateX(-2px);
}

.otp-title {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 12px 0;
  color: var(--text);
}

.otp-subtitle {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 16px 0;
}

.otp-demo {
  font-size: 12px;
  color: var(--brand3);
  font-weight: 700;
  margin: 0;
}

.otp-container {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 16px 0;
}

.premium-otp {
  width: 44px;
  height: 44px;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  border-radius: 10px;
  border: 2px solid rgba(124, 58, 237, 0.2);
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s var(--ease);
  padding: 0;
}

[data-theme="dark"] .premium-otp {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(124, 58, 237, 0.3);
}

.premium-otp:focus {
  border-color: rgba(124, 58, 237, 0.6);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
  transform: scale(1.05);
}

.otp-resend {
  text-align: center;
  margin-top: 12px;
}

.btn-link {
  background: none;
  border: none;
  color: var(--brand3);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s var(--ease);
}

.btn-link:hover {
  color: #6366f1;
}

/* Theme Toggle - Separate Position */
.theme-toggle {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 2px solid rgba(124, 58, 237, 0.25);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--brand3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  z-index: 100;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

[data-theme="dark"] .theme-toggle {
  background: rgba(12, 20, 38, 0.95);
  border-color: rgba(124, 58, 237, 0.3);
}

.theme-toggle:hover {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.5);
  transform: rotate(15deg) scale(1.05);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.25);
}

/* User Type Options - Tap & Select */
.user-type-options {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 5px;
}

.user-type-option {
  flex: 1;
  padding: 14px 16px;
  border: 2px solid rgba(124, 58, 237, 0.15);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

[data-theme="dark"] .user-type-option {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(124, 58, 237, 0.25);
}

.user-type-option:hover {
  border-color: rgba(124, 58, 237, 0.4);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

[data-theme="dark"] .user-type-option:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(124, 58, 237, 0.4);
}

.user-type-option.selected {
  border-color: rgba(124, 58, 237, 0.6);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(124, 58, 237, 0.05));
  box-shadow: 
    0 0 0 4px rgba(124, 58, 237, 0.1),
    0 4px 12px rgba(124, 58, 237, 0.2);
}

[data-theme="dark"] .user-type-option.selected {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(124, 58, 237, 0.08));
  border-color: rgba(124, 58, 237, 0.5);
}

.option-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  width: 100%;
}

.option-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand3);
  transition: all 0.3s var(--ease);
}

.user-type-option.selected .option-icon {
  background: rgba(124, 58, 237, 0.2);
  color: var(--brand3);
}

.option-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.option-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.option-desc {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.3;
}

.option-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  min-width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(124, 58, 237, 0.4);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s var(--ease);
}

.user-type-option.selected .option-check {
  opacity: 1;
  transform: scale(1);
  color: var(--brand3);
}

.verification-status {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(22, 163, 74, 0.1);
  border: 2px solid rgba(22, 163, 74, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #16a34a;
  animation: slideIn 0.3s var(--ease);
}

.verification-status svg {
  flex-shrink: 0;
  color: #16a34a;
}

/* Verification Popup */
.verification-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s var(--ease);
}

.verification-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.verification-popup-content {
  position: relative;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s var(--ease);
  z-index: 1001;
}

[data-theme="dark"] .verification-popup-content {
  background: rgba(12, 20, 38, 0.98);
  border: 1px solid rgba(124, 58, 237, 0.2);
}

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

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

.verification-popup-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(124, 58, 237, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.verification-popup-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.popup-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: rgba(124, 58, 237, 0.1);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease);
}

.popup-close-btn:hover {
  background: rgba(124, 58, 237, 0.2);
  transform: rotate(90deg);
}

.verification-popup-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.verification-popup-text {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  margin: 0 0 20px 0;
  line-height: 1.6;
}

.file-upload-area {
  position: relative;
}

.file-upload-placeholder {
  border: 2px dashed rgba(124, 58, 237, 0.3);
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  background: rgba(124, 58, 237, 0.03);
}

.file-upload-placeholder:hover {
  border-color: rgba(124, 58, 237, 0.5);
  background: rgba(124, 58, 237, 0.06);
}

.file-upload-area.drag-over .file-upload-placeholder {
  border-color: rgba(124, 58, 237, 0.6);
  background: rgba(124, 58, 237, 0.1);
  transform: scale(1.02);
}

.file-upload-placeholder svg {
  color: var(--brand3);
  margin: 0 auto 12px;
  opacity: 0.7;
}

.upload-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 6px 0;
}

.upload-hint {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}

.file-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.05);
  border: 1px solid rgba(124, 58, 237, 0.15);
}

[data-theme="dark"] .file-item {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.25);
}

.file-item-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.file-item-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand3);
}

.file-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.file-item-size {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  margin-left: 8px;
}

.file-item-remove {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 6px;
  border: none;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease);
  margin-left: 8px;
}

.file-item-remove:hover {
  background: rgba(239, 68, 68, 0.2);
  transform: scale(1.1);
}

.verification-popup-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(124, 58, 237, 0.1);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.verification-popup-footer .premium-btn-outline {
  min-width: 100px;
}

.verification-popup-footer .premium-btn {
  min-width: 120px;
}

/* User Type Badge */
.user-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-left: 8px;
}

.user-type-badge.member {
  background: rgba(14, 165, 233, 0.15);
  color: var(--brand2);
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.user-type-badge.verified {
  background: rgba(22, 163, 74, 0.15);
  color: var(--good);
  border: 1px solid rgba(22, 163, 74, 0.3);
}

.user-type-badge.associate {
  background: rgba(124, 58, 237, 0.15);
  color: var(--brand3);
  border: 1px solid rgba(124, 58, 237, 0.3);
}

/* Footer */
.auth-page-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 40px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(124, 58, 237, 0.1);
  z-index: 10;
}

[data-theme="dark"] .auth-page-footer {
  background: rgba(12, 20, 38, 0.95);
  border-top-color: rgba(124, 58, 237, 0.2);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}

.footer-content a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s var(--ease);
}

.footer-content a:hover {
  color: var(--brand3);
}

.footer-content span {
  color: var(--muted2);
  opacity: 0.6;
}

.footer-content .copyright {
  opacity: 1;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
  .auth-container {
    grid-template-columns: 1fr;
  }

  .auth-left {
    display: none;
  }

  .auth-right {
    padding: 30px 20px;
  }
}

@media (max-width: 640px) {
  .auth-card {
    max-width: 100%;
  }

  .auth-title {
    font-size: 28px;
  }

  .premium-otp {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .theme-toggle {
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
  }

  .auth-page-footer {
    padding: 12px 20px;
  }

  .footer-content {
    font-size: 11px;
    gap: 8px;
  }

  .user-type-options {
    flex-direction: column;
  }

  .user-type-option {
    width: 100%;
  }
}
