/* ==========================================================================
   SISTEM REKOMENDASI KARIER MAHASISWA - AUTH & LOGIN DESIGN
   File: assets/css/auth.css
   Contains: Specific styles for auth/login.php
   ========================================================================== */

body.login-body {
  background: radial-gradient(circle at 10% 20%, rgba(5, 150, 105, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 45%),
              #f1f5f9;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 15px;
}

.login-split-card {
  max-width: 1020px;
  width: 100%;
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Left Hero Panel */
.login-hero-panel {
  background: linear-gradient(150deg, #064e3b 0%, #059669 60%, #047857 100%);
  color: var(--white);
  padding: 48px 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  min-height: 540px;
}

.login-hero-panel::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.back-home-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-bottom: 25px;
  backdrop-filter: blur(6px);
}

.back-home-badge:hover {
  background: var(--white);
  color: #064e3b;
  transform: translateX(-3px);
}

.login-hero-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.login-logo-box {
  width: 64px;
  height: 64px;
  background: var(--white);
  border-radius: 16px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.login-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.login-hero-title small {
  color: var(--accent-gold);
  font-weight: 700;
  letter-spacing: 0.8px;
  font-size: 0.75rem;
  text-transform: uppercase;
  display: block;
}

.login-hero-title h4 {
  color: var(--white);
  font-weight: 800;
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.3;
}

.login-hero-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 25px;
}

.login-feature-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 25px;
}

.login-feature-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 11px 16px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(4px);
}

.login-hero-footer {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Right Form Panel */
.login-form-panel {
  padding: 48px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-segmented-tabs {
  background: var(--slate-100);
  padding: 6px;
  border-radius: 14px;
  display: flex;
  gap: 6px;
  margin-bottom: 25px;
  border: none;
}

.login-segmented-tabs .nav-item {
  flex: 1;
}

.login-segmented-tabs .nav-link {
  width: 100%;
  border-radius: 10px;
  padding: 10px 16px;
  text-align: center;
  border: none;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--slate-500);
  background: transparent;
  transition: all 0.2s ease;
}

.login-segmented-tabs .nav-link.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-weight: 700;
}

.input-with-icon {
  position: relative;
}

.input-with-icon .input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-400);
  font-size: 1rem;
  pointer-events: none;
  transition: color 0.2s ease;
}

.input-with-icon .form-control {
  padding-left: 46px;
  height: 48px;
  border-radius: 12px;
  border: 1.5px solid var(--slate-300);
  font-size: 0.92rem;
  color: var(--slate-900);
  transition: all 0.2s ease;
}

.input-with-icon .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.input-with-icon .form-control:focus + .input-icon {
  color: var(--primary);
}

.toggle-password-btn {
  border: 1.5px solid var(--slate-300);
  border-left: none;
  background: var(--white);
  color: var(--slate-400);
  border-top-right-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
  transition: all 0.2s ease;
}

.toggle-password-btn:hover {
  color: var(--primary);
  background: var(--slate-50);
}

.input-password-field {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-right: none !important;
}

.btn-login-submit {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: 12px;
  height: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  box-shadow: 0 4px 14px var(--primary-glow);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-login-submit:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.35);
}

@media (max-width: 991.98px) {
  .login-hero-panel {
    min-height: auto;
    padding: 35px 25px;
  }
  .login-form-panel {
    padding: 35px 25px;
  }
}
