* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f6f7f9;
  color: #1d2433;
  font-family: Arial, Helvetica, sans-serif;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  padding: 32px;
  background: white;
  border: 1px solid #dfe3e8;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.auth-card h1 {
  margin-top: 0;
}

.auth-form {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.auth-form label {
  margin-top: 6px;
  font-weight: 700;
}

.auth-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #bbc2ca;
  border-radius: 8px;
  font-size: 16px;
}

.auth-form button,
.auth-button {
  min-height: 46px;
  margin-top: 12px;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  background: #172b4d;
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.auth-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.auth-link {
  color: #174ea6;
}

.auth-message {
  display: none;
  margin: 18px 0;
  padding: 12px;
  border: 1px solid #8391a2;
  border-radius: 8px;
  background: #f2f6fb;
}

.auth-message.error {
  border-color: #b42318;
  background: #fff2f0;
  color: #8a1c13;
}

.auth-message.success {
  border-color: #16803c;
  background: #effaf2;
  color: #11642f;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.subscription-options {
  margin: 24px 0;
}

.subscription-options h2 {
  margin-bottom: 8px;
}

.subscription-options .auth-button {
  margin-top: 12px;
}

.subscription-options .auth-button + .auth-button {
  margin-left: 8px;
}
.billing-options {
  margin: 24px 0;
}

.billing-options h2 {
  margin-bottom: 12px;
}