/* =========================================
   DTR Login Page - Clean Web UI
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'sans-serif';
  background-color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  color: #111827;
}

/* ---------- CONTAINER ---------- */
.login-container {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

/* ---------- CARD ---------- */
.login-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.login-card h2 {
  color: #111827;
  font-size: 24px;
  font-weight: 700;
}

.login-card p {
  color: #6b7280;
  font-size: 14px;
  margin: 0;
}

/* ---------- FORM ELEMENTS ---------- */
.form-label {
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}

.form-control {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  transition: all 0.2s;
}

.form-control:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* ---------- BUTTONS ---------- */
.btn-primary {
  background-color: #3b82f6;
  border: none;
  border-radius: 8px;
  padding: 10px 0;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
}

.btn-primary:hover {
  background-color: #2563eb;
  transform: translateY(-1px);
}

.logout-btn {
  background-color: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.logout-btn:hover {
  background-color: #f3f4f6;
  transform: translateY(-1px);
}

/* ---------- TOGGLE ---------- */
#toggleText {
  color: #6b7280;
}

#toggleLink {
  color: #3b82f6;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

#toggleLink:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 480px) {
  .login-card {
    padding: 24px 20px;
  }

  .login-card h2 {
    font-size: 20px;
  }
}
