/**
 * Login Page Styles - Material Design 3
 *
 * NOTE: Common MD3 components (design tokens, buttons, text fields, checkboxes, dialogs, etc.)
 * are now in md3-components.css. This file only contains login page-specific styles.
 */

/* ========== Login Page Layout ========== */
body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-container {
  width: 100%;
  max-width: 400px;
}

.login-card {
  background: var(--md-sys-color-surface-1);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--md-sys-elevation-2);
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-icon {
  width: 64px;
  height: 64px;
  background: var(--md-sys-color-primary-container);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.login-icon .material-icons {
  font-size: 32px;
  color: var(--md-sys-color-on-primary-container);
}

.login-title {
  font-size: 24px;
  font-weight: 500;
  color: var(--md-sys-color-on-surface);
  margin-bottom: 8px;
}

.login-subtitle {
  font-size: 14px;
  color: var(--md-sys-color-on-surface-variant);
}

/* ========== Login-specific Styles ========== */

/* Override button width for login page */
.md3-button {
  width: 100%;
  padding: 14px 24px;
}

.dialog-actions .md3-button {
  width: auto;
  min-width: 100px;
}

/* 2FA code input (login-specific) */
.twofa-code-input {
  text-align: center;
  font-size: 24px;
  letter-spacing: 0.5em;
  padding: 16px;
}

/* Login footer */
.login-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--md-sys-color-outline);
}

.login-footer p {
  font-size: 13px;
  color: var(--md-sys-color-on-surface-variant);
  margin: 0;
}

.login-footer a {
  color: var(--md-sys-color-primary);
  text-decoration: none;
  font-weight: 500;
}

.login-footer a:hover {
  text-decoration: underline;
}

.login-footer a:visited {
  color: var(--md-sys-color-primary);
}
