/* Modern Authentication UI Stylesheet for EHJ Sisters */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --auth-font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --auth-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --primary-600: #6d28d9;
  --primary-700: #5b21b6;
  --primary-800: #4c1d95;
  --primary-900: #2e1065;
  --primary-light: #f5f3ff;
  --primary-border: #ddd6fe;

  --accent-gold: #d97706;
  --accent-gold-light: #fef3c7;

  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-subtle: #e2e8f0;
  --border-focus: #7c3aed;
  
  --bg-gradient: radial-gradient(circle at top left, rgba(109, 40, 217, 0.08), transparent 35%),
                 radial-gradient(circle at bottom right, rgba(217, 119, 6, 0.06), transparent 30%),
                 linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

body.auth-page {
  font-family: var(--auth-font-body);
  color: var(--text-main);
  background: var(--bg-gradient);
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative;
  overflow-x: hidden;
}

/* Subtle decorative ambient lights */
.auth-page::before {
  content: '';
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  top: -150px;
  left: -150px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, rgba(124, 58, 237, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.auth-page::after {
  content: '';
  position: fixed;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  bottom: -150px;
  right: -150px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.08) 0%, rgba(217, 119, 6, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.auth-container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Main Auth Card */
.auth-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(30, 27, 75, 0.15),
              0 0 0 1px rgba(226, 232, 240, 0.9);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.auth-card:hover {
  box-shadow: 0 30px 60px -12px rgba(30, 27, 75, 0.18),
              0 0 0 1px rgba(226, 232, 240, 1);
}

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

@media (max-width: 991.98px) {
  .auth-form-side {
    padding: 2.5rem 1.75rem;
  }
}

.auth-brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  border: 1.5px solid #ddd6fe;
  border-radius: 20px;
  box-shadow: 0 8px 16px -4px rgba(124, 58, 237, 0.12);
  margin-bottom: 1.5rem;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.auth-brand-badge:hover {
  transform: translateY(-2px) scale(1.04);
}

.auth-brand-badge img {
  width: 52px;
  height: auto;
  object-fit: contain;
}

.auth-title {
  font-family: var(--auth-font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 2rem;
}

/* Alert Notification Banner */
.auth-alert-danger {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: 12px;
  padding: 0.85rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.06);
}

.auth-alert-danger i {
  font-size: 1.35rem;
  flex-shrink: 0;
  color: #dc2626;
}

.auth-alert-success {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  border-radius: 12px;
  padding: 0.85rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* Inputs & Form Groups */
.auth-form-group {
  margin-bottom: 1.25rem;
}

.auth-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
}

.auth-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid var(--border-subtle);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.auth-input-wrapper:hover {
  background: #ffffff;
  border-color: #cbd5e1;
}

.auth-input-wrapper:focus-within {
  background: #ffffff;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.auth-input-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 14px;
  padding-right: 4px;
  color: #94a3b8;
  font-size: 1.25rem;
  transition: color 0.2s ease;
  pointer-events: none;
}

.auth-input-wrapper:focus-within .auth-input-icon {
  color: var(--border-focus);
}

.auth-input {
  width: 100%;
  border: none !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: var(--auth-font-body);
  color: var(--text-main);
}

.auth-input::placeholder {
  color: #94a3b8;
  font-size: 0.92rem;
}

.auth-password-toggle {
  background: transparent;
  border: none;
  padding: 0 14px;
  color: #94a3b8;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.auth-password-toggle:hover {
  color: var(--text-secondary);
}

.auth-error-text {
  font-size: 0.8rem;
  color: #dc2626;
  font-weight: 500;
  margin-top: 0.35rem;
  margin-bottom: 0;
}

/* Switches & Auxiliaries */
.auth-remember-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-check-input:checked {
  background-color: var(--primary-700);
  border-color: var(--primary-700);
}

.auth-check-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}

/* Primary Action Button */
.auth-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 24px;
  font-family: var(--auth-font-body);
  font-size: 0.98rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 100%);
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 20px -5px rgba(109, 40, 217, 0.4);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.01em;
}

.auth-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -4px rgba(109, 40, 217, 0.5);
  filter: brightness(1.05);
  color: #ffffff;
}

.auth-btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px -3px rgba(109, 40, 217, 0.4);
}

.auth-btn-primary i {
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.auth-btn-primary:hover i {
  transform: translateX(3px);
}

/* Footer & Navigation */
.auth-footer-nav {
  text-align: center;
  margin-top: 1.75rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.auth-footer-nav a {
  color: var(--primary-700);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-left: 4px;
}

.auth-footer-nav a:hover {
  color: var(--primary-900);
  text-decoration: underline;
}

/* Right Hero Section */
.auth-hero-side {
  position: relative;
  background-image: url('/assets/images/login-images/login-frent-img.jpg');
  background-size: cover;
  background-position: center;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3.5rem 3rem;
  color: #ffffff;
  overflow: hidden;
}

/* Dark, Elegant Brand Gradient Overlay */
.auth-hero-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, 
              rgba(46, 16, 101, 0.88) 0%, 
              rgba(30, 27, 75, 0.94) 60%, 
              rgba(15, 23, 42, 0.96) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1;
}

.auth-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Pill badge at top */
.auth-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f5d0fe;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: fit-content;
}

.auth-hero-pill i {
  color: #fbbf24;
  font-size: 0.95rem;
}

/* Middle text block */
.auth-hero-center {
  margin: auto 0;
  padding: 2rem 0;
}

.auth-hero-headline {
  font-family: var(--auth-font-heading);
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1.15rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.auth-hero-headline span {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-hero-desc {
  font-size: 1rem;
  color: rgba(243, 232, 255, 0.92);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 440px;
}

/* Feature bullets */
.auth-hero-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 1rem;
}

.auth-hero-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: #ede9fe;
  font-weight: 500;
}

.auth-hero-feature-item .feature-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.35);
  border: 1px solid rgba(221, 214, 254, 0.35);
  color: #fbbf24;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* Glass quote card at bottom */
.auth-hero-glass-quote {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.auth-hero-glass-quote p {
  font-size: 0.88rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.35rem;
  line-height: 1.5;
}

.auth-hero-glass-quote span {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: #fef08a;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .auth-hero-side {
    min-height: 340px;
    padding: 2rem 1.5rem;
  }
  .auth-hero-headline {
    font-size: 1.75rem;
  }
}
