/* ===== Login Page ===== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f2540 0%, #1a3c5e 50%, #2563a8 100%);
  position: relative;
  overflow: hidden;
}

/* Decorative background shapes */
.login-page::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: rgba(212,168,67,0.08);
  border-radius: 50%;
  top: -200px; right: -200px;
}
.login-page::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  bottom: -150px; left: -150px;
}

.login-card {
  background: rgba(255,255,255,0.97);
  border-radius: 18px;
  padding: 48px 44px;
  width: 100%; max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative; z-index: 1;
}

.login-logo {
  text-align: center;
  margin-bottom: 32px;
}
.login-logo-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #1a3c5e, #2563a8);
  border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 30px;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(37,99,168,0.3);
}
.login-logo h1 { font-size: 22px; font-weight: 800; color: #1a3c5e; margin-bottom: 4px; }
.login-logo p { font-size: 13px; color: #6b7c93; }

.login-form .form-group { margin-bottom: 18px; }
.login-form .form-label { font-size: 13px; font-weight: 600; color: #1e2d3d; margin-bottom: 7px; display: block; }
.login-form .form-control {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid #dde3ed; border-radius: 9px;
  font-size: 15px; color: #1e2d3d; background: #f8fafc;
  outline: none; transition: all 0.2s;
}
.login-form .form-control:focus { border-color: #2563a8; background: #fff; box-shadow: 0 0 0 3px rgba(37,99,168,0.1); }

.login-input-wrap { position: relative; }
.login-input-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  font-size: 16px; color: #94a3b8; pointer-events: none;
}
.login-input-wrap .form-control { padding-left: 38px; }

.btn-login {
  width: 100%; padding: 13px;
  background: linear-gradient(135deg, #1a3c5e, #2563a8);
  color: #fff; border: none; border-radius: 9px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: all 0.2s; margin-top: 8px;
  box-shadow: 0 4px 14px rgba(37,99,168,0.35);
}
.btn-login:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,168,0.45); }
.btn-login:active { transform: none; }
.btn-login:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.login-error {
  background: #fee2e2; color: #991b1b;
  border: 1px solid #fca5a5; border-radius: 8px;
  padding: 10px 14px; font-size: 13px; margin-top: 14px;
  display: none;
}
.login-error.show { display: block; }

.login-footer {
  text-align: center; margin-top: 24px;
  font-size: 12px; color: #94a3b8;
}

/* ===== Responsive Login ===== */
@media (max-width: 480px) {
  .login-card {
    padding: 36px 24px;
    margin: 16px;
    border-radius: 14px;
  }
  .login-logo-icon { width: 56px; height: 56px; font-size: 26px; }
  .login-logo h1 { font-size: 20px; }
}

@media (max-width: 360px) {
  .login-card { padding: 28px 18px; }
  .login-logo h1 { font-size: 18px; }
}
