/* ScrimMate: Authentication & Onboarding Styles */

.sm-auth-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 1.5rem;
  box-sizing: border-box;
}

.sm-auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface-container-low, #1d1a10);
  border: 1px solid var(--outline-variant, #332b18);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-sizing: border-box;
}

.sm-auth-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.sm-auth-logo {
  width: 52px;
  height: 52px;
  font-size: 1.75rem;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--surface-container-high), var(--surface-container-low));
  border: 2px solid var(--primary, #f6c445);
  color: var(--primary, #f6c445);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 0 16px rgba(246, 196, 69, 0.3);
}

.sm-auth-brand {
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--on-surface);
}

.sm-auth-brand span {
  color: var(--primary, #f6c445);
}

.sm-auth-tagline {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--on-surface-variant, #a69c84);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sm-auth-title {
  margin: 0.25rem 0 0;
  font-size: 1.375rem;
  color: var(--on-surface);
}

.sm-auth-tabs {
  width: 100%;
  display: flex;
}

.sm-auth-tab {
  flex: 1;
  min-height: 44px;
}

.sm-auth-notice {
  margin: 0;
}

.sm-auth-busy-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem;
  color: var(--primary, #f6c445);
  font-size: 0.875rem;
  font-weight: 600;
}

.sm-auth-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 48px;
  font-weight: 700;
}

.sm-auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.25rem 0;
}

.sm-auth-divider hr {
  flex: 1;
  border: none;
  border-top: 1px solid var(--outline-variant, #332b18);
  margin: 0;
}

.sm-auth-divider span {
  font-size: 0.6875rem;
  color: var(--on-surface-variant, #a69c84);
  font-weight: 700;
}

.sm-auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.sm-auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sm-auth-field-label {
  font-size: 0.8125rem;
  color: var(--on-surface);
  font-weight: 600;
}

.sm-auth-input {
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  background: color-mix(in srgb, var(--surface-container-highest) 55%, transparent);
  border: 1px solid var(--outline-variant, #332b18);
  border-radius: 8px;
  color: var(--on-surface);
  box-sizing: border-box;
}

.sm-auth-submit-btn {
  min-height: 48px;
  font-weight: 700;
}

.sm-auth-footer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--on-surface-variant, #a69c84);
}
