:root {
  --blue: #0056b3;
  --blue-dark: #003d80;
  --blue-light: #e8f0fb;
  --border: #d0daea;
  --text: #1a2333;
  --muted: #6b7a99;
  --white: #ffffff;
  --red: #d63b3b;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 400px;
}

.login-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  padding: 40px 36px;
  width: 100%;
}

.login-logo {
  text-align: center;
  margin-bottom: 24px;
}
.login-logo img {
  height: 48px;
  object-fit: contain;
}

.login-header {
  text-align: center;
  margin-bottom: 28px;
}
.login-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
}
.login-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 5px;
}

.login-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--blue-dark);
}
.form-control {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 0.95rem;
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--white);
  width: 100%;
}
.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,86,179,0.12);
}

.login-error {
  font-size: 0.85rem;
  color: var(--red);
  text-align: center;
  min-height: 20px;
  font-weight: 600;
}

.login-btn {
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s, transform 0.15s;
  margin-top: 4px;
}
.login-btn:hover:not(:disabled) { background: var(--blue-dark); transform: translateY(-1px); }
.login-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.login-footer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
}
