* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #f6f7fb;
  color: #1a1b23;
  -webkit-font-smoothing: antialiased;
}

button, a {
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

button:focus-visible, a:focus-visible {
  outline: 2px solid #FF6C01;
  outline-offset: 2px;
}

.card {
  width: 100%;
  max-width: 380px;
  padding: 2.5rem 2rem;
  background: #ffffff;
  border: 1px solid #e3e5ee;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(16, 24, 60, 0.04), 0 16px 40px rgba(16, 24, 60, 0.08);
  text-align: center;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #14151c;
}

.subtitle {
  margin: 0 0 1.75rem;
  color: #6b6f80;
  font-size: 0.9rem;
}

.error {
  margin: 0 0 1rem;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.85rem;
  text-align: left;
}

.ms-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #cbcedb;
  border-radius: 10px;
  background: #ffffff;
  color: #1a1b23;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(16, 24, 60, 0.05);
}

.ms-button:hover {
  background: #f8f9fc;
  border-color: #FF6C01;
  box-shadow: 0 4px 12px rgba(255, 108, 1, 0.12);
  transform: translateY(-1px);
}

.ms-logo {
  flex-shrink: 0;
}
