/* auth.css (Faza B) — Stil minimal për login/register/dashboard test.
   UI i plotë vjen në fazat e mëvonshme — logjika para bukurisë. */

* { box-sizing: border-box; }

body.auth-page {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #f3f4f6;
  color: #111827;
}

.auth-card {
  width: 100%;
  max-width: 380px;
  margin: 16px;
  padding: 28px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.auth-card h1 { margin: 0 0 4px; font-size: 1.4rem; }
.auth-card h2 { margin: 0 0 20px; font-size: 1.05rem; font-weight: 500; color: #4b5563; }

.auth-card label {
  display: block;
  margin: 14px 0 4px;
  font-size: 0.9rem;
  font-weight: 600;
}

.auth-card input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
}

.auth-card input:focus {
  outline: 2px solid #1a73e8;
  outline-offset: 1px;
  border-color: #1a73e8;
}

.auth-card button {
  width: 100%;
  margin-top: 20px;
  padding: 11px;
  border: 0;
  border-radius: 8px;
  background: #1a73e8;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.auth-card button:disabled { opacity: 0.6; cursor: wait; }

.form-error {
  margin: 0 0 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fde8e8;
  color: #9b1c1c;
  font-size: 0.9rem;
}

.form-info {
  margin: 0 0 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #e6f4ea;
  color: #1e7e34;
  font-size: 0.9rem;
}

.auth-switch { margin-top: 18px; font-size: 0.9rem; text-align: center; }
.auth-switch a { color: #1a73e8; }

.password-field { position: relative; }
.password-field input { padding-right: 42px; }
.auth-card button.password-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  left: auto;
  transform: translateY(-50%);
  width: auto;
  margin-top: 0;
  background: none;
  border: none;
  color: inherit;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  opacity: .6;
}
.auth-card button.password-toggle:hover { opacity: 1; }

.remember-me {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 500 !important;
  font-size: 0.88rem !important;
  cursor: pointer;
}
.remember-me input { width: auto !important; accent-color: #1a73e8; cursor: pointer; }
