/* EduTek login polish — overlay card, keeps PHP bg image */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --et-primary: #00A3E0;
  --et-primary-dark: #0088bd;
  --et-ink: #0B1220;
  --et-muted: #64748B;
  --et-line: #E2E8F0;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

section.login {
  position: relative !important;
  min-height: 100vh !important;
  height: auto !important;
  padding: 2.5rem 1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* cyan/dark wash over existing bg image (from inline style) */
section.login::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(11, 18, 32, 0.72) 0%,
    rgba(0, 163, 224, 0.48) 55%,
    rgba(0, 136, 189, 0.55) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.login_wrapper {
  position: relative !important;
  z-index: 1 !important;
  width: min(440px, 100%) !important;
  max-width: 440px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  border-radius: 20px !important;
  padding: 2rem 1.75rem 1.75rem !important;
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.28),
    0 2px 8px rgba(15, 23, 42, 0.08) !important;
  backdrop-filter: blur(8px);
}

.login_wrapper_logo {
  margin-bottom: 0.75rem !important;
}

.login_wrapper_logo img {
  max-height: 64px !important;
  width: auto !important;
  object-fit: contain !important;
}

.login_wrapper_content h4 {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: var(--et-ink) !important;
  letter-spacing: -0.02em !important;
  margin: 0.25rem 0 1.25rem !important;
  text-align: center !important;
}

.login_wrapper_content .input-control {
  margin-bottom: 0.9rem !important;
}

.login_wrapper_content .input-control-input {
  border: 1px solid var(--et-line) !important;
  border-radius: 12px !important;
  min-height: 48px !important;
  padding: 0.7rem 1rem 0.7rem 2.6rem !important;
  font-size: 0.95rem !important;
  color: var(--et-ink) !important;
  background: #F8FAFC !important;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease !important;
}

.login_wrapper_content .input-control-input:focus {
  outline: none !important;
  border-color: #7DD3FC !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(0, 163, 224, 0.15) !important;
}

.login_wrapper_content .input-control-icon {
  color: var(--et-muted) !important;
}

.login_wrapper_content .input-control-input[type="submit"] {
  width: 100% !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  margin-top: 0.35rem !important;
  font-weight: 700 !important;
  font-size: 0.98rem !important;
  letter-spacing: 0.01em !important;
  color: #fff !important;
  background: var(--et-primary) !important;
  border: 0 !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  box-shadow: 0 10px 24px rgba(0, 163, 224, 0.35) !important;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease !important;
}

.login_wrapper_content .input-control-input[type="submit"]:hover {
  background: var(--et-primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 136, 189, 0.4) !important;
}

.login_wrapper_content .input-control.d-flex {
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
  margin-bottom: 0.5rem !important;
}

.login_wrapper_content .checkbox-title {
  color: var(--et-muted) !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
}

.login_wrapper_content a#forget {
  color: var(--et-primary) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.login_wrapper_content a#forget:hover {
  text-decoration: underline !important;
  color: var(--et-primary-dark) !important;
}

.login_wrapper_content .text-danger {
  display: block;
  margin: -0.35rem 0 0.65rem !important;
  font-size: 0.82rem !important;
}

@media (max-width: 480px) {
  .login_wrapper {
    padding: 1.5rem 1.15rem !important;
    border-radius: 16px !important;
  }
  .login_wrapper_content h4 {
    font-size: 1.1rem !important;
  }
}
