/* ===========================
   ADMIN LOGIN PAGE STYLING
   =========================== */

html, body {
  height: 100%;
  margin: 0;
  font-family: var(--font-main);
  background: linear-gradient(135deg, #e9f7ff, #fdf4ff);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Wrapper to ensure full viewport centering */
.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  width: 100%;
}

/* Card */
.login-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  width: 380px;
  padding: 2rem;
  text-align: center;
  animation: fadeIn 0.6s ease;
}

.login-logo img {
  height: 60px;
  margin-bottom: 0.5rem;
}

.login-logo h2 {
  margin: 0.5rem 0;
  font-size: 1.5rem;
  color: var(--color-primary);
}

.subtitle {
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* Form */
.form-group {
  margin: 1rem 0;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

input[type="text"],
input[type="password"] {
  border: 1px solid #ccc;
  border-radius: var(--radius-md);
  padding: 0.7rem;
  width: 100%;
  font-size: 0.95rem;
}

input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 5px rgba(0,120,215,0.2);
}

button.full {
  width: 100%;
  margin-top: 1rem;
}

/* Footer */
.login-footer {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.login-footer a {
  color: var(--color-primary);
}

.footer-login {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #666;
}

.footer-login img {
  height: 26px;
  vertical-align: middle;
  margin-left: 6px;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
