/* =============================================
   MPOS Authentication - Modern Split Layout
   ============================================= */

* {
  font-family: 'Poppins', sans-serif;
}

/* ===== SPLIT PAGE LAYOUT ===== */
.auth-split-page {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* ===== LEFT PANEL — Brand & Illustration ===== */
.auth-left-panel {
  flex: 0 0 45%;
  position: sticky;
  top: 0;
  height: 100vh;
  align-self: flex-start;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a2980 0%, #4267B2 50%, #26d0ce 100%);
  overflow: hidden;
}

/* Decorative background pattern */
.auth-left-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
  z-index: 1;
}

/* Animated floating shapes */
.auth-left-panel::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  top: -80px;
  right: -80px;
  animation: floatShape 6s ease-in-out infinite;
  z-index: 1;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(20px, 30px) rotate(5deg); }
  66% { transform: translate(-15px, 15px) rotate(-3deg); }
}

.auth-left-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.05);
  z-index: 1;
}

.auth-left-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 48px 40px;
  max-width: 380px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Logo / Illustration Frame ── */
.auth-left-logo {
  margin-bottom: 28px;
  animation: logoFadeIn 0.8s ease-out;
  position: relative;
  display: inline-block;
}

@keyframes logoFadeIn {
  from { opacity: 0; transform: scale(0.85) translateY(-10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Glowing ring behind illustration */
.auth-left-logo::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(2px);
  z-index: 0;
}

.auth-logo-box {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 18px;
  margin: 0 auto;
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 1;
}

.auth-logo-icon {
  font-size: 40px;
  color: #fff;
}

.auth-illustration {
  position: relative;
  z-index: 1;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 22px;
  display: block;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.25));
  transition: transform 0.4s ease;
}

.auth-illustration:hover {
  transform: scale(1.04) rotate(1.5deg);
}

/* ── Brand Title ── */
.auth-left-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px;
  letter-spacing: 4px;
  text-shadow: 0 0 30px rgba(255,255,255,0.25), 0 2px 8px rgba(0,0,0,0.2);
}

/* ── Subtitle with divider ── */
.auth-left-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
  letter-spacing: 0.6px;
  margin-bottom: 0;
  padding-bottom: 28px;
  position: relative;
}

/* Thin divider line below subtitle */
.auth-left-subtitle::after {
  content: '';
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,0.3);
}

/* ── Feature Pills ── */
.auth-left-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  width: 100%;
  max-width: 280px;
  margin-top: 20px;
}

.auth-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 11px 20px 11px 14px;
  border-radius: 50px;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.28s ease;
  text-align: left;
  animation: featureFadeIn 0.6s ease both;
}

.auth-feature:nth-child(1) { animation-delay: 0.2s; }
.auth-feature:nth-child(2) { animation-delay: 0.35s; }
.auth-feature:nth-child(3) { animation-delay: 0.5s; }

@keyframes featureFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.auth-feature:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Icon circle inside feature pill */
.auth-feature i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  color: #ffffff;
  transition: background 0.28s ease;
}

.auth-feature:hover i {
  background: rgba(255, 255, 255, 0.28);
}

/* ===== RIGHT PANEL — Login Form ===== */
.auth-right-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc !important;
  padding: 40px;
  color: #1e293b !important;
  position: relative;
}

/* ===== THEME TOGGLE ON AUTH PAGE ===== */
.auth-theme-toggle {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.auth-theme-toggle:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #1e293b;
}

.auth-theme-toggle:active {
  transform: scale(0.93);
}

.auth-theme-toggle i {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-theme-toggle:hover i {
  transform: rotate(25deg);
}

/* =============================================
   DARK MODE — Auth Page Overrides
   ============================================= */
[data-theme="dark"] .auth-left-panel {
  background: linear-gradient(135deg, #1a1040 0%, #2d1b69 50%, #1e3a5f 100%) !important;
}

[data-theme="dark"] .auth-right-panel {
  background: #1c1e21 !important;
  color: #e8e6e3 !important;
}

[data-theme="dark"] .auth-form-wrapper {
  color: #e8e6e3 !important;
}

[data-theme="dark"] .auth-form-title {
  color: #e8e6e3 !important;
}

[data-theme="dark"] .auth-form-desc {
  color: #8a8680 !important;
}

[data-theme="dark"] .auth-label {
  color: #b8b4ad !important;
}

[data-theme="dark"] .auth-input {
  background: #2b2e33 !important;
  border-color: #494d54 !important;
  color: #e8e6e3 !important;
}

[data-theme="dark"] .auth-input:focus {
  background: #2b2e33 !important;
  border-color: #5a8dee !important;
  color: #e8e6e3 !important;
  box-shadow: 0 0 0 3px rgba(90, 141, 238, 0.2) !important;
}

[data-theme="dark"] .auth-input::placeholder {
  color: #6a6660 !important;
}

[data-theme="dark"] .auth-input-icon {
  color: #6a6660 !important;
}

[data-theme="dark"] .auth-input-wrapper:focus-within .auth-input-icon {
  color: #5a8dee !important;
}

[data-theme="dark"] .auth-eye-btn {
  color: #6a6660 !important;
}

[data-theme="dark"] .auth-eye-btn:hover {
  color: #5a8dee !important;
}

[data-theme="dark"] .auth-error-alert {
  background: rgba(239, 68, 68, 0.12) !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
  color: #f87171 !important;
}

[data-theme="dark"] .auth-submit-btn {
  background: linear-gradient(135deg, #4267B2 0%, #5a8dee 100%) !important;
  box-shadow: 0 4px 15px rgba(90, 141, 238, 0.3) !important;
}

[data-theme="dark"] .auth-footer-links a {
  color: #5a8dee !important;
}

[data-theme="dark"] .auth-footer-links a:hover {
  color: #7ba4f5 !important;
}

[data-theme="dark"] .auth-divider {
  color: #494d54 !important;
}

[data-theme="dark"] .auth-theme-toggle {
  background: #2b2e33;
  border-color: #494d54;
  color: #fbbf24;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .auth-theme-toggle:hover {
  background: #32363b;
  color: #fcd34d;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.15);
}

.auth-form-wrapper {
  width: 100%;
  max-width: 420px;
  animation: formSlideIn 0.6s ease-out;
  color: #1e293b !important;
}

.auth-signup-wrapper {
  max-width: 520px;
  padding: 20px 0;
}

/* ===== MULTI-STEP PROGRESS ===== */
.auth-steps-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  gap: 0;
}

.auth-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.auth-step-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.auth-step-item > span {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}

.auth-step-item.active .auth-step-circle {
  background: #4267B2;
  color: white;
  box-shadow: 0 0 0 5px rgba(66, 103, 178, 0.15);
}

.auth-step-item.active > span {
  color: #4267B2;
}

.auth-step-item.completed .auth-step-circle {
  background: #22c55e;
  color: white;
}

.auth-step-item.completed > span {
  color: #22c55e;
}

.auth-step-connector {
  height: 2px;
  width: 72px;
  background: #e2e8f0;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: background 0.5s ease;
  border-radius: 2px;
}

.auth-step-connector.completed {
  background: #22c55e;
}

/* Step Panels */
.auth-step-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: stepSlideIn 0.35s ease-out;
}

@keyframes stepSlideIn {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}

.auth-step-panel.step-back {
  animation: stepSlideBack 0.35s ease-out;
}

@keyframes stepSlideBack {
  from { opacity: 0; transform: translateX(-18px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Step Navigation Row */
.auth-step-nav {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

/* Back Button */
.auth-back-btn {
  padding: 14px 20px;
  background: transparent;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.auth-back-btn:hover {
  border-color: #4267B2;
  color: #4267B2;
  background: rgba(66, 103, 178, 0.05);
}

/* Step inline error */
.auth-step-error {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  color: #dc2626;
  font-size: 13px;
  font-weight: 500;
  animation: shakeAlert 0.4s ease;
}

/* Dark mode — multi-step */
[data-theme="dark"] .auth-step-circle {
  background: #3a3f47;
  color: #6a6660;
}

[data-theme="dark"] .auth-step-connector {
  background: #3a3f47;
}

[data-theme="dark"] .auth-back-btn {
  border-color: #494d54;
  color: #8a8680;
}

[data-theme="dark"] .auth-back-btn:hover {
  border-color: #5a8dee;
  color: #5a8dee;
  background: rgba(90, 141, 238, 0.08);
}

[data-theme="dark"] .auth-step-error {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* Sections */
.auth-section {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #1e293b !important;
  margin-bottom: 5px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
}

[data-theme="dark"] .auth-section-label {
  color: #e8e6e3 !important;
  border-bottom-color: #494d54;
}

.auth-section-number {
  width: 24px;
  height: 24px;
  background: #4267B2;
  color: white !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* Grid Layout */
.auth-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 480px) {
  .auth-two-col {
    grid-template-columns: 1fr;
  }
}

/* Custom Select */
.auth-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='C19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
}

/* File Upload */
.auth-file-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  background: #f1f5f9 !important;
  border: 2px dashed #cbd5e1 !important;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #64748b !important;
}

.auth-file-upload:hover {
  background: #e2e8f0 !important;
  border-color: #4267B2 !important;
  color: #1e293b !important;
}

[data-theme="dark"] .auth-file-upload {
  background: #2b2e33 !important;
  border-color: #494d54 !important;
  color: #8a8680 !important;
}

[data-theme="dark"] .auth-file-upload:hover {
  background: #32363b !important;
  border-color: #5a8dee !important;
  color: #e8e6e3 !important;
}

.auth-file-upload i {
  font-size: 24px;
}

.auth-file-input {
  display: none;
}

.auth-optional {
  font-size: 11px;
  font-weight: 400;
  color: #94a3b8 !important;
  margin-left: 4px;
}

/* Subscription Plan Selector */
.auth-plan-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}

@media (max-width: 991px) {
  .auth-plan-selector {
    grid-template-columns: 1fr;
  }
}

.auth-plan-card {
  position: relative;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 20px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #ffffff !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-indigo, #4F46E5);
  color: white !important;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
  z-index: 2;
}

.auth-plan-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.auth-plan-card.active {
  border-color: #4267B2;
  background: #f0f7ff !important;
  box-shadow: 0 4px 12px rgba(66, 103, 178, 0.1);
}

[data-theme="dark"] .auth-plan-card {
  background: #2b2e33 !important;
  border-color: #494d54;
}

[data-theme="dark"] .auth-plan-card.active {
  background: rgba(90, 141, 238, 0.1) !important;
  border-color: #5a8dee;
  box-shadow: 0 4px 12px rgba(90, 141, 238, 0.2);
}

.auth-plan-header {
  display: flex;
  flex-direction: column;
}

.auth-plan-name {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b !important;
  letter-spacing: 0.5px;
}

.auth-plan-card.active .auth-plan-name {
  color: #4267B2 !important;
}

[data-theme="dark"] .auth-plan-name {
  color: #8a8680 !important;
}

[data-theme="dark"] .auth-plan-card.active .auth-plan-name {
  color: #5a8dee !important;
}

.auth-plan-price {
  font-size: 24px;
  font-weight: 800;
  color: #1e293b !important;
}

[data-theme="dark"] .auth-plan-price {
  color: #e8e6e3 !important;
}

.auth-plan-price small {
  font-size: 14px;
  font-weight: 400;
  color: #64748b !important;
}

.auth-plan-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-plan-list li {
  font-size: 13px;
  color: #475569 !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-plan-list li::before {
  content: "•";
  color: #4267B2;
  font-weight: bold;
}

[data-theme="dark"] .auth-plan-list li {
  color: #b8b4ad !important;
}

[data-theme="dark"] .auth-plan-list li::before {
  color: #5a8dee;
}

.auth-plan-check {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 20px;
  color: #4267B2;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s ease;
}

.auth-plan-card.active .auth-plan-check {
  opacity: 1;
  transform: scale(1);
}

[data-theme="dark"] .auth-plan-check {
  color: #5a8dee;
}

@keyframes formSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Form Header */
.auth-form-header {
  margin-bottom: 36px;
}

.auth-form-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b !important;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.auth-form-desc {
  font-size: 15px;
  color: #64748b !important;
  font-weight: 400;
}

/* Error Alert */
.auth-error-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  color: #dc2626;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  animation: shakeAlert 0.4s ease;
}

@keyframes shakeAlert {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.auth-error-alert i {
  font-size: 16px;
  flex-shrink: 0;
}

/* Form */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Input Group */
.auth-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-label {
  font-size: 13px;
  font-weight: 600;
  color: #475569 !important;
  letter-spacing: 0.2px;
}

.auth-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-icon {
  position: absolute;
  left: 16px;
  color: #94a3b8 !important;
  font-size: 15px;
  z-index: 1;
  transition: color 0.2s ease;
}

.auth-input {
  width: 100%;
  padding: 14px 16px 14px 46px;
  border: 2px solid #e2e8f0 !important;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 400;
  color: #1e293b !important;
  background: #ffffff !important;
  transition: all 0.2s ease;
  outline: none;
  font-family: 'Poppins', sans-serif;
}

.auth-input:focus {
  border-color: #4267B2 !important;
  box-shadow: 0 0 0 3px rgba(66, 103, 178, 0.12) !important;
  background: #ffffff !important;
  color: #1e293b !important;
}

.auth-input:focus ~ .auth-input-icon,
.auth-input-wrapper:focus-within .auth-input-icon {
  color: #4267B2;
}

.auth-input::placeholder {
  color: #94a3b8 !important;
  font-weight: 400;
}

/* Password Eye Button */
.auth-eye-btn {
  position: absolute;
  right: 14px;
  background: none !important;
  border: none;
  color: #94a3b8 !important;
  cursor: pointer;
  padding: 4px;
  font-size: 15px;
  transition: color 0.2s ease;
  z-index: 1;
}

.auth-eye-btn:hover {
  color: #4267B2;
}

/* Submit Button */
.auth-submit-btn {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #4267B2 0%, #3b5998 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.3px;
  margin-top: 8px;
  box-shadow: 0 4px 15px rgba(66, 103, 178, 0.3);
  font-family: 'Poppins', sans-serif;
}

.auth-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(66, 103, 178, 0.4);
}

.auth-submit-btn:active:not(:disabled) {
  transform: translateY(0);
}

.auth-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Footer Links */
.auth-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.auth-footer-links a {
  color: #4267B2 !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.auth-footer-links a:hover {
  color: #2d4a8a !important;
  text-decoration: underline;
}

.auth-divider {
  color: #cbd5e1;
  font-size: 12px;
}


/* =============================================
   OLD AUTH CLASSES — Keep for Signup/Others
   ============================================= */
.auth-page {
  min-height: 100vh;
  background: var(--primary-blue);
}

.auth-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* =============================================
   RESPONSIVE LAYOUT (MOBILE, TABLET)
   ============================================= */

/* ── Tablet (≤991px) ── */
@media (max-width: 991px) {
  .auth-split-page {
    flex-direction: column;
    min-height: 100vh;
  }

  .auth-left-panel {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    position: relative;
    /* Compact horizontal strip layout */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 24px;
  }

  .auth-left-content {
    padding: 0;
    max-width: 100%;
    /* Switch to horizontal layout: icon + text side by side */
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: left;
  }

  .auth-left-logo {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .auth-logo-box {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }

  .auth-logo-icon {
    font-size: 34px;
  }

  /* Text block next to icon */
  .auth-left-title {
    font-size: 1.6rem;
    letter-spacing: 2px;
    margin: 0 0 2px;
  }

  .auth-left-subtitle {
    font-size: 0.78rem;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .auth-left-subtitle::after {
    display: none;
  }

  /* Always hide feature pills on tablets — keeps banner tight */
  .auth-left-features {
    display: none;
  }

  .auth-right-panel {
    flex: 1;
    padding: 28px 24px 36px;
    align-items: center;
  }

  .auth-form-wrapper {
    width: 100%;
    max-width: 500px;
    margin-top: 0;
  }

  .auth-theme-toggle {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
  }
}

/* ── Mobile (≤600px) ── */
@media (max-width: 600px) {
  .auth-left-panel {
    padding: 14px 16px;
  }

  .auth-left-content {
    gap: 12px;
  }

  .auth-logo-box {
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }

  .auth-logo-icon {
    font-size: 28px;
  }

  .auth-left-title {
    font-size: 1.4rem;
    letter-spacing: 2px;
  }

  .auth-left-subtitle {
    font-size: 0.72rem;
  }

  .auth-right-panel {
    padding: 22px 16px 32px;
    align-items: flex-start;
  }

  .auth-form-wrapper {
    max-width: 100%;
  }

  .auth-form-title {
    font-size: 1.5rem;
  }

  .auth-form-desc {
    font-size: 13px;
  }

  .auth-form-header {
    margin-bottom: 18px;
  }

  .auth-input {
    font-size: 14px;
    padding: 12px 14px 12px 42px;
  }

  .auth-submit-btn {
    font-size: 15px;
    padding: 13px 20px;
  }

  .auth-theme-toggle {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  /* Stack two-column password fields vertically */
  .auth-two-col {
    grid-template-columns: 1fr;
  }
}

/* ── Small Mobile (≤380px) ── */
@media (max-width: 380px) {
  .auth-left-panel {
    padding: 12px 12px;
  }

  .auth-logo-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
  }

  .auth-logo-icon {
    font-size: 22px;
  }

  .auth-left-title {
    font-size: 1.25rem;
    letter-spacing: 1px;
  }

  .auth-left-subtitle {
    font-size: 0.68rem;
  }

  .auth-right-panel {
    padding: 18px 12px 28px;
  }

  .auth-form-title {
    font-size: 1.35rem;
  }
}


