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

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: #000;
  color: #f5f5f7;
  height: 100vh;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.login-bg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(10,132,255,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(48,209,88,0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 80%, rgba(255,69,58,0.06) 0%, transparent 40%),
    #000;
}

.login-card {
  width: 100%;
  max-width: 380px;
  background: rgba(28,28,30,0.85);
  backdrop-filter: saturate(180%) blur(40px);
  -webkit-backdrop-filter: saturate(180%) blur(40px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 40px 28px 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.login-logo {
  font-size: 42px;
  text-align: center;
  margin-bottom: 8px;
  color: #0a84ff;
  filter: drop-shadow(0 0 20px rgba(10,132,255,0.4));
}

.login-title {
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.login-sub {
  text-align: center;
  font-size: 14px;
  color: #8e8e93;
  margin-bottom: 28px;
}

.login-field {
  margin-bottom: 16px;
}

.login-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #8e8e93;
  margin-bottom: 6px;
}

.login-field input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(44,44,46,0.8);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  color: #f5f5f7;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.login-field input:focus {
  border-color: rgba(10,132,255,0.5);
  box-shadow: 0 0 0 3px rgba(10,132,255,0.15);
}

.login-field input::placeholder {
  color: #636366;
}

.login-error {
  color: #ff453a;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  min-height: 20px;
  margin-bottom: 8px;
}

.login-btn {
  width: 100%;
  padding: 14px;
  background: #0a84ff;
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}

.login-btn:active {
  transform: scale(0.98);
  opacity: 0.85;
}

.login-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.login-footer {
  margin-top: 32px;
  font-size: 12px;
  color: #48484a;
}

.login-back {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  background: none;
  border: none;
  color: #8e8e93;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
}
.login-back:active { color: #f5f5f7; }
