/* ============================================================
   UNIF Login Page — Split-screen layout
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: #1C2B33;
}

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

/* ── Left panel: brand ─────────────────────────────────────── */
.login-brand {
  flex: 0 0 42%;
  background-color: #1A6B7A;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative circle */
.login-brand::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  top: -80px; right: -100px;
}
.login-brand::after {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(78, 173, 190, 0.18);
  bottom: -60px; left: -60px;
}

.login-brand-logo {
  width: 72px; height: 72px;
  background: rgba(255,255,255,0.15);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.login-brand-logo img {
  width: 46px; height: 46px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.login-brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  position: relative; z-index: 1;
  margin-bottom: 4px;
}
.login-brand-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  font-weight: 400;
  position: relative; z-index: 1;
  margin-bottom: 32px;
  letter-spacing: 0.01em;
}
.login-brand-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative; z-index: 1;
  font-weight: 500;
}

/* ── Right panel: form ─────────────────────────────────────── */
.login-form-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 40px 32px;
}

.login-form-box {
  width: 100%;
  max-width: 380px;
}

.login-icon {
  width: 52px; height: 52px;
  background: rgba(26,107,122,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.login-icon i {
  font-size: 1.5rem;
  color: #1A6B7A;
}

.login-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #1C2B33;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.login-subheading {
  font-size: 0.9rem;
  color: #5A7280;
  margin-bottom: 32px;
}

.login-form-box .form-label {
  font-weight: 500;
  font-size: 0.875rem;
  color: #1C2B33;
  margin-bottom: 6px;
  display: block;
}

.login-form-box .form-control {
  width: 100%;
  border: 1px solid #DDE8EC;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.9rem;
  height: 44px;
  color: #1C2B33;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.login-form-box .form-control:focus {
  border-color: #1A6B7A;
  box-shadow: 0 0 0 3px rgba(26,107,122,0.16);
  outline: none;
}

.login-form-box .mb-3 { margin-bottom: 18px; }

.btn-login {
  display: block;
  width: 100%;
  height: 48px;
  background-color: #1A6B7A;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background-color 0.2s;
  margin-top: 6px;
}
.btn-login:hover { background-color: #155A67; color: #fff; }

.login-forgot {
  display: block;
  text-align: center;
  margin-top: 18px;
  font-size: 0.85rem;
  color: #1A6B7A;
  text-decoration: none;
  font-weight: 500;
}
.login-forgot:hover { text-decoration: underline; color: #155A67; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .login-brand { display: none; }
  .login-form-panel { padding: 40px 24px; }
}
