@font-face {
  font-family: 'Gotham';
  src: url('/fonts/GothamBook.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('/fonts/GothamMedium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: #021e2a;
  color: #f3f2e1;
  font-family: 'Gotham', system-ui, sans-serif;
  font-size: 14px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
}
.login-box { width: 100%; max-width: 360px; padding: 0 20px; }
.login-box img { display: block; margin: 0 auto 40px; height: 56px; }
.field { position: relative; margin-bottom: 20px; }
.field input {
  width: 100%;
  padding: 14px 16px;
  background: #071f2d;
  border: 1px solid rgba(243, 242, 225, 0.12);
  border-radius: 6px;
  color: #f3f2e1;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}
.field input:focus { border-color: rgba(243, 242, 225, 0.35); }
.remember-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  color: rgba(243, 242, 225, 0.55);
  cursor: pointer;
}
.remember-row input { accent-color: #de4a28; cursor: pointer; width: auto; }
button[type="submit"] {
  width: 100%;
  padding: 14px;
  background: #de4a28;
  color: #f3f2e1;
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s;
}
button[type="submit"]:hover { opacity: 0.9; }
button[type="submit"]:disabled { opacity: 0.5; cursor: not-allowed; }
.hint { font-size: 12px; color: rgba(243, 242, 225, 0.45); margin: -8px 0 18px; }
.error {
  background: rgba(224, 112, 80, 0.12);
  border: 1px solid rgba(224, 112, 80, 0.3);
  color: #e07050;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 20px;
  display: none;
}
.error.visible { display: block; }
