@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

body {
  background: #1E1B4B;
  background: linear-gradient(135deg, #1E1B4B 0%, #0f0d1a 100%);
  color: white;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page {
  width: 100%;
  max-width: 440px;
  padding: 24px;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px 32px;
  backdrop-filter: blur(12px);
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: white;
  gap: 4px;
  margin-bottom: 16px;
}

.logo .accent {
  color: #818CF8;
}

.badge {
  background: rgba(129, 140, 248, 0.15);
  color: #818CF8;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-left: 8px;
}

.subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin-bottom: 32px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.field label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.field input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: white;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

.field input:focus {
  border-color: #818CF8;
}

.btn-primary {
  width: 100%;
  padding: 14px;
  background: #4F46E5;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
  background: #6366F1;
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-ghost {
  width: 100%;
  padding: 14px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  text-align: center;
  display: inline-block;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  display: none;
}

.error.visible {
  display: block;
}

.lockout {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fcd34d;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  display: none;
}

.lockout.visible {
  display: block;
}

.links {
  text-align: center;
  margin-top: 24px;
}

.links a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

.links a:hover {
  color: #818CF8;
}

.footer-text {
  text-align: center;
  color: rgba(255, 255, 255, 0.25);
  font-size: 13px;
  margin-top: 32px;
}

.btn-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.btn-row > * {
  flex: 1;
}

.info-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 24px;
}
