/* Angel Nova - Auth Pages Premium Styles */
:root {
  --primary: #0D1B2A;
  --accent: #096457;
  --accent-hover: #064a41;
  --bg: #F8F9FA;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.auth-page {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

.auth-wrapper {
  display: flex;
  min-height: 100vh;
}

.auth-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 3rem;
  background: #fff;
}

.auth-right {
  flex: 1;
  background: linear-gradient(135deg, var(--primary) 0%, #1B263B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.auth-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=800') center/cover;
  opacity: 0.2;
}

.auth-brand {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  max-width: 400px;
}

.auth-brand h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.auth-brand p {
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.7;
}

.dhamal-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px;
}

.auth-back {
  position: absolute;
  top: 2rem;
  left: 2rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.auth-back:hover {
  color: var(--accent);
}

.auth-content {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}

.auth-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  color: #6c757d;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.auth-form .form-label {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.auth-form .form-control {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 1rem;
}

.auth-form .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(9, 100, 87, 0.2);
}

.btn-accent {
  background: var(--accent) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 700;
  border-radius: 10px;
  transition: all 0.2s;
}

.btn-accent:hover {
  background: var(--accent-hover) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(9, 100, 87, 0.35);
}

.auth-links a,
.auth-footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.auth-links a:hover,
.auth-footer a:hover {
  text-decoration: underline;
}

.reset-icon {
  width: 80px;
  height: 80px;
  background: rgba(9, 100, 87, 0.15);
  color: var(--accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.btn-outline-light:hover {
  background: #fff !important;
  color: var(--primary) !important;
  border-color: #fff !important;
}

.alert-danger {
  background: #fee2e2;
  border-color: #fecaca;
  color: #991b1b;
}

.alert-success {
  background: #d1fae5;
  border-color: #a7f3d0;
  color: #065f46;
}

.password-field {
  position: relative;
}
.password-field input {
  padding-right: 48px;
}
.password-field .pw-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  padding: 4px 8px;
  font-size: 1.1rem;
}
.password-field .pw-toggle:hover {
  color: var(--accent);
}

@media (max-width: 991px) {
  .auth-wrapper {
    flex-direction: column;
  }

  .auth-right {
    display: none;
  }

  .auth-left {
    padding: 4rem 1.5rem 2rem;
  }

  .auth-back {
    top: 1rem;
    left: 1rem;
  }
}

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

  .auth-title {
    font-size: 1.6rem;
  }
}
