/* Login page dedicated styles: centered card, light background, Inter font */
:root {
  --bg: #e9eff7;
  --card-bg: #ffffff;
  --card-border: #d0d5dd;
  --text: #101828;
  --muted: #667085;
  --primary: #1f2a44; /* deep navy */
  --primary-hover: #172033;
  --ring: #93c5fd;
  --radius: 12px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
}

/* Layout */
.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* Card */
.card.login-card {
  width: 100%;
  max-width: 980px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: 0 6px 24px rgba(16, 24, 40, 0.08);
  padding: 28px 28px 24px;
}

@media (min-width: 640px) {
  .card.login-card { padding: 40px; }
}

/* Logo */
.logo-container { display: flex; justify-content: center; margin-bottom: 8px; }
.logo { max-width: 520px; height: auto; }

/* Text */
.title {
  margin: 8px 0 6px 0;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  text-align: center;
  color: var(--text);
}
.subtitle {
  margin: 0 auto 18px auto;
  text-align: center;
  color: var(--muted);
  max-width: 680px;
}
.subtitle .link { color: #0b5ed7; text-decoration: none; }
.subtitle .link:hover { text-decoration: underline; }

/* Form */
.form { width: 100%; max-width: 720px; margin: 0 auto 12px auto; }
.input-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.input-label { color: var(--muted); font-size: 14px; text-align: center; }

.input-field {
  width: 100%;
  height: 48px;
  padding: 10px 14px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  outline: none;
  font-size: 16px;
  background: #fff;
  color: var(--text);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
  text-align: center; /* center input text */
}
.input-field::placeholder { color: #98a2b3; text-align: center; }
/* Cross-browser placeholder centering */
.input-field::-webkit-input-placeholder { text-align: center; }
.input-field:-ms-input-placeholder { text-align: center; }
.input-field::-ms-input-placeholder { text-align: center; }
.input-field:focus {
  border-color: #84caff;
  box-shadow: 0 0 0 4px rgba(131, 190, 255, 0.35);
}

/* Button */
.submit-button {
  display: block;
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.02s ease;
}
.submit-button:hover { background: var(--primary-hover); }
.submit-button:active { transform: translateY(1px); }

/* Disclaimer */
.disclaimer {
  color: var(--muted);
  text-align: center;
  margin: 16px 0 0 0;
}

/* Footer */
.footer { text-align: center; color: #98a2b3; margin-top: 18px; }

/* Small screens */
@media (max-width: 480px) {
  .logo { max-width: 260px; }
  .title { font-size: 24px; }
}

/* Bigger brand bar on login */
.mast-brand.big { gap: 12px; }
.mast-brand.big .brand-logo.mta { height: 64px; width: auto; }
.mast-brand.big .brand-logo.sa { height: 80px; width: auto; }

@media (max-width: 640px) {
  .mast-brand.big .brand-logo.mta { height: 44px; }
  .mast-brand.big .brand-logo.sa { height: 58px; }
}
