/* Extracted from index.html. */
* { margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color:transparent; }

body {
  font-family: 'Manrope', sans-serif;
  min-height: 100vh; min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #053928;
  background-image: url('../../assets/images/backgrounds/covair-wallpaper-emblem.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 24px 16px;
}

.card {
  background: rgba(5,30,18,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(113,228,80,0.18);
  border-radius: 20px;
  padding: 40px 32px 36px;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.logo-wrap {
  width: 180px;
  margin-bottom: 28px;
}
.logo-wrap svg { width: 100%; height: auto; }

.title {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
  text-align: center;
}
.subtitle {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 32px;
  text-align: center;
}

.fields { width: 100%; display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 16px; /* 16px prevents iOS zoom */
  color: white;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.field input::placeholder { color: rgba(255,255,255,0.2); }
.field input:focus { border-color: rgba(113,228,80,0.45); background: rgba(255,255,255,0.08); }

.btn {
  width: 100%;
  background: #71E450;
  color: #053928;
  border: none;
  border-radius: 10px;
  padding: 15px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 0.2s;
  -webkit-appearance: none;
  margin-top: 4px;
}
.btn:active { opacity: 0.85; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.error {
  background: rgba(180,30,30,0.25);
  border: 1px solid rgba(255,80,80,0.25);
  color: #ff9999;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  margin-top: 12px;
  width: 100%;
  text-align: center;
  display: none;
}

.forgot {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
}
.forgot a {
  color: rgba(113,228,80,0.6);
  text-decoration: none;
}
.forgot a:hover { color: #71E450; }

.success {
  background: rgba(30,120,30,0.25);
  border: 1px solid rgba(113,228,80,0.25);
  color: #a8f08a;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  margin-top: 12px;
  width: 100%;
  text-align: center;
  display: none;
}

.footer {
  margin-top: 28px;
  font-size: 11px;
  color: rgba(255,255,255,0.15);
  text-align: center;
}

@media (max-width: 380px) {
  .card { padding: 32px 20px 28px; }
  .logo-wrap { width: 150px; }
}
