* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #0a0f1e;
  color: #e5e7eb;
}

.pulse-login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.pulse-login-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  color: #1b2a4a;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.pulse-login-logo {
  display: block;
  height: 48px;
  width: auto;
  margin: 0 auto;
}

.pulse-login-title {
  margin: 1.5rem 0 0.5rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.pulse-login-subtitle {
  margin: 0;
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
}

.pulse-login-divider {
  margin: 2rem 0 0;
  border: none;
  border-top: 1px solid #e5e7eb;
}

.pulse-login-field {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #0a0f1e;
  color: #fff;
  font-size: 0.875rem;
}

.pulse-login-field:first-of-type {
  margin-top: 1.5rem;
}

.pulse-login-field:focus {
  outline: none;
  border-color: #0d7377;
}

.pulse-login-submit {
  width: 100%;
  margin-top: 1rem;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: 8px;
  background: #0d7377;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.pulse-login-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.pulse-login-message {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
}

.pulse-login-message.error {
  color: #dc2626;
}

.pulse-login-message.info {
  color: #6b7280;
}

.pulse-login-or {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0 1rem;
  color: #9ca3af;
  font-size: 0.75rem;
}

.pulse-login-or::before,
.pulse-login-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.pulse-login-oauth-row {
  display: flex;
  gap: 0.5rem;
}

.pulse-login-oauth-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem;
  border: 1px solid #4b5563;
  border-radius: 8px;
  background: #1f2937;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 500;
  cursor: pointer;
}

.pulse-login-oauth-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.pulse-login-footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.6875rem;
  color: #9ca3af;
}
