* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0b1a30 0%, #1a3a5c 40%, #1e5078 100%);
  color: #fff;
}

.login-wrapper {
  width: 100%;
  max-width: 420px;
  padding: 20px;
}

.login-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 40px 32px 32px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

.login-logo {
  display: block;
  max-width: 220px;
  margin: 0 auto 24px;
}

.login-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: 0.5px;
}

.login-subtitle {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin: 0 0 28px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.8);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input::placeholder {
  color: rgba(255,255,255,0.35);
}

.form-group input:focus,
.form-group select:focus {
  border-color: #4e8cff;
  background: rgba(255,255,255,0.12);
}

.form-group select option {
  background: #1a3a5c;
  color: #fff;
}

.btn-login {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #4e8cff, #2563eb);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity 0.2s;
}

.btn-login:hover {
  opacity: 0.9;
}

.login-error {
  display: none;
  background: rgba(220,38,38,0.25);
  border: 1px solid rgba(220,38,38,0.5);
  color: #fca5a5;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  text-align: center;
}

.login-error.visible {
  display: block;
}

.login-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

.login-footer a {
  color: rgba(255,255,255,0.5);
  text-decoration: underline;
  cursor: pointer;
}
