/* ==============================================================================
   Minhaj Platform: Auth Splash Screen (Light Liquid Glass Design System)
   Aesthetic: Luminous Mint Canvas, Frosted Crystal Panel, Deep Emerald Splash
   ============================================================================== */

:root {
  --auth-canvas: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 40%, #e6f9f0 100%);
  --auth-glass-white: rgba(255, 255, 255, 0.94);
  --auth-glass-border: 1.5px solid rgba(16, 185, 129, 0.25);
  --auth-shadow: 0 20px 60px rgba(6, 78, 59, 0.12), 0 4px 16px rgba(0, 0, 0, 0.04);
  --emerald-deep: #064e3b;
  --emerald-main: #059669;
  --mint-accent: #10b981;
}

body {
  font-family: 'Cairo', system-ui, -apple-system, sans-serif !important;
  background: var(--auth-canvas) !important;
  color: #064e3b;
}

.auth-splash-wrapper {
  min-height: 100vh;
  background: var(--auth-canvas);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

/* Ambient Mint Glow Background Accents */
.auth-splash-wrapper::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.auth-splash-wrapper::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

/* Auth Glass Main Container */
.auth-glass-container {
  width: 100%;
  max-width: 1100px;
  background: var(--auth-glass-white);
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  border: var(--auth-glass-border);
  border-radius: 28px;
  box-shadow: var(--auth-shadow);
  overflow: hidden;
  position: relative;
  z-index: 10;
}

/* Right Side: Splash Showcase Panel */
.auth-splash-showcase {
  background: linear-gradient(145deg, #064e3b 0%, #022c22 100%);
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.auth-splash-showcase::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -30%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.splash-emblem {
  height: 64px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(16, 185, 129, 0.4));
}

.splash-feature-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 0.9rem;
  transition: all 0.25s ease;
}

.splash-feature-pill:hover {
  transform: translateX(-4px);
  background: rgba(255, 255, 255, 0.14);
  border-color: #34d399;
}

.splash-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.25);
  border: 1px solid rgba(52, 211, 153, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #34d399;
  flex-shrink: 0;
}

.hadith-quote-box {
  background: rgba(2, 24, 18, 0.6);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 16px;
  padding: 1.15rem 1.4rem;
}

.hadith-quote-box i {
  color: #fbbf24;
  font-size: 1.3rem;
}

/* Left Side: Form Panel */
.auth-form-panel {
  padding: 3.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}

.auth-form-panel h3 {
  color: #064e3b;
  font-weight: 800;
  font-size: 1.8rem;
}

.auth-form-panel p {
  color: #475569;
  font-size: 0.95rem;
  font-weight: 500;
}

.auth-input-group {
  position: relative;
}

.auth-input-group .input-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #059669;
  font-size: 1.1rem;
  pointer-events: none;
}

.auth-input-control {
  background: #ffffff !important;
  border: 1.5px solid #a7f3d0 !important;
  color: #064e3b !important;
  border-radius: 14px !important;
  padding: 0.8rem 3rem 0.8rem 1rem !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 6px rgba(6, 78, 59, 0.04) !important;
  transition: all 0.2s ease;
  width: 100%;
}

.auth-input-control:focus {
  background: #ffffff !important;
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2) !important;
  outline: none;
}

.auth-input-control::placeholder {
  color: #64748b !important;
  font-weight: 500 !important;
}

.password-toggle-btn {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}

.password-toggle-btn:hover {
  color: #059669;
}

.btn-auth-submit {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 14px;
  padding: 0.85rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
  transition: all 0.25s ease;
}

.btn-auth-submit:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.55);
}

.auth-switch-link {
  color: #059669;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.auth-switch-link:hover {
  color: #047857;
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .auth-splash-showcase {
    display: none;
  }
  .auth-form-panel {
    padding: 2.5rem 1.8rem;
  }
}
