/* ==========================================================
 * auth.css - หน้า Login
 * ========================================================== */

* { box-sizing: border-box; }

.auth-body {
  margin: 0;
  font-family: 'Sarabun', sans-serif;
  background: linear-gradient(135deg, #0a2756 0%, #1a4080 50%, #0a2756 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.auth-body::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(212, 169, 61, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(212, 169, 61, 0.1) 0%, transparent 40%);
}

.auth-wrapper {
  width: 100%;
  position: relative;
  z-index: 1;
}

.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
  text-align: center;
}

.login-logo {
  width: 110px;
  height: 110px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.25));
}

.login-title {
  color: #0a2756;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: .25rem;
  font-family: 'Prompt', sans-serif;
}

.login-subtitle {
  color: #888;
  font-size: .95rem;
  margin-bottom: 2rem;
}

.form-floating > .form-control {
  border-radius: 10px;
  border-color: #d8dde5;
  height: calc(3.5rem + 2px);
}
.form-floating > .form-control:focus {
  border-color: #0a2756;
  box-shadow: 0 0 0 3px rgba(10, 39, 86, 0.08);
}

.btn-primary-school {
  background: linear-gradient(135deg, #0a2756, #1a4080);
  color: #fff;
  border: none;
  padding: .75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  transition: all .25s ease;
}
.btn-primary-school:hover {
  background: linear-gradient(135deg, #061a3d, #0a2756);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(10, 39, 86, 0.4);
}

@media (max-width: 575px) {
  .login-card { padding: 2rem 1.5rem; border-radius: 16px; }
}
