/* ===== FX Notes — Auth pages ===== */

/* Kill any app chrome on auth pages */
.auth-page .fx-sidebar,
.auth-page .fx-header,
.auth-page .fx-sidebar-overlay,
.auth-page [data-include="/partials/sidebar.html"],
.auth-page [data-include="/partials/header.html"],
.auth-page .fx-header-spacer { display: none !important; }

/* Single-column shell */
.auth-page .fx-shell { grid-template-columns: 1fr !important; }

/* Layout: footer sticks to bottom, card centred */
.auth-page .fx-content {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: 0;
}
.auth-page main.fx-container.auth-container {
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 100%;
  padding: 32px 16px;
}

/* Card */
.auth-card {
  width: 100%;
  max-width: 560px;
  padding: 22px;
  border-radius: var(--fx-radius);
  box-shadow: var(--fx-shadow);
  background: var(--fx-surface);
}
.auth-card-head { margin-bottom: 10px; }
.auth-card .fx-h1 { font-size: 24px; margin: 0 0 4px; }
.auth-card .fx-sub { color: var(--fx-muted); }

/* ===== FORM STYLES (this was missing) ===== */
.auth-form .field { display: grid; gap: 6px; margin: 12px 0; }
.auth-form .field-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 640px) {
  .auth-form .field-group { grid-template-columns: 1fr; }
}
.auth-form label { font-size: 13px; color: var(--fx-text); }

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid var(--fx-border);
  border-radius: 10px;
  height: 42px;
  padding: 0 12px;
  background: #fff;
  color: var(--fx-text);
  outline: none;
}
.auth-form input:focus {
  border-color: var(--fx-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--fx-primary) 20%, transparent);
}

/* Checkbox line + actions */
.auth-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}
.auth-actions .fx-btn.small { height: 34px; padding: 0 10px; font-size: 13px; }

/* Divider (if you add social providers) */
.auth-divider {
  display: inline-block; width: 100%; text-align: center;
  color: var(--fx-muted); margin: 16px 0 8px; position: relative;
}
.auth-divider::before, .auth-divider::after {
  content: ""; position: absolute; top: 50%; width: 40%; height: 1px; background: var(--fx-border);
}
.auth-divider::before { left: 0; transform: translateY(-50%); }
.auth-divider::after  { right: 0; transform: translateY(-50%); }

.auth-social { display: flex; gap: 10px; margin-bottom: 8px; }

/* Footer full width */
.auth-page .fx-footer { margin-top: 0; width: 100%; border-top: 1px solid var(--fx-border); }
.auth-page .fx-footer .fx-container { max-width: none; width: 100%; padding-inline: 16px; }

/* Tidy any global spacing that could push the card */
.auth-page .fx-container > *:first-child { margin-top: 0 !important; }

/* Optional: style the Google GSI button spacing */
.g_id_signin { margin: 8px 0 4px; }
