/* Shared sign-in/sign-up + form/button styling for the 5 auth-gated pages
   (account, membership, om-registration, om-tryouts, registration).
   Deliberately NOT linked on admin.html, which has its own conflicting
   .btn-primary (deep-plum, not antique-gold).

   .btn-secondary here matches account/membership/om-registration/om-tryouts'
   sizing; registration.html's own stylesheet adds a small override for its
   slightly larger button so neither page's current appearance changes. */

.auth-card { background-color: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 8px; padding: 2rem; max-width: 440px; margin: 0 auto; }
.auth-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border-ui); }
.auth-tab { font-family: var(--font-ui); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; background: none; border: none; padding: 0.6rem 0.4rem; cursor: pointer; color: var(--text-body); opacity: 0.6; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.auth-tab.active { opacity: 1; color: var(--accent); border-bottom-color: var(--accent); }
.auth-panel { display: none; flex-direction: column; gap: 1rem; }
.auth-panel.active { display: flex; }
.signup-warning { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.78rem; color: var(--warn); background-color: var(--bg-surface); border: 1px dashed var(--warn); border-radius: 6px; padding: 0.65rem 0.8rem; }
.auth-divider { display: flex; align-items: center; gap: 0.75rem; margin: 1.25rem 0; font-size: 0.75rem; color: var(--text-body); opacity: 0.6; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background-color: var(--border-ui); }
.google-btn { display: flex; align-items: center; justify-content: center; gap: 0.6rem; width: 100%; padding: 0.7rem 1rem; border: 1px solid var(--border-subtle); border-radius: 6px; background-color: var(--bg-page); color: var(--text-body); font-family: var(--font-ui); font-size: 0.8rem; cursor: pointer; }
.google-btn:hover { background-color: var(--link-hover-bg); }
.auth-error { color: var(--warn); font-size: 0.8rem; min-height: 1.2em; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-family: var(--font-ui); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-heading); font-weight: 700; }
.form-row input { font-family: var(--font-body); font-size: 0.9rem; color: var(--text-body); background-color: var(--bg-page); border: 1px solid var(--border-subtle); border-radius: 6px; padding: 0.65rem 0.8rem; }
.form-row input:focus { outline: none; border-color: var(--accent); }
.btn-primary { background-color: var(--antique-gold); color: var(--midnight); padding: 0.8rem 1.8rem; border: none; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.75rem; font-weight: 700; cursor: pointer; font-family: var(--font-ui); transition: background-color 0.3s ease; }
.btn-primary:hover { background-color: var(--fox-copper); }
.btn-primary:disabled { opacity: 0.6; cursor: default; }
.btn-secondary { background-color: var(--antique-gold); color: var(--midnight); padding: 0.6rem 1.2rem; border: 1px solid var(--antique-gold); border-radius: 6px; text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.72rem; font-weight: 700; cursor: pointer; font-family: var(--font-ui); text-decoration: none; display: inline-block; transition: background-color 0.3s ease, border-color 0.3s ease; }
.btn-secondary:hover { background-color: var(--fox-copper); border-color: var(--fox-copper); }

/* Signed-in dashboard wrapper for membership/om-registration/om-tryouts
   (account.html and registration.html use their own #dashboard rule
   instead, since their dashboard has page-specific gap spacing). Paired
   with the [hidden] attribute (see shared.css) for the auth-gate toggle. */
.auth-dashboard { display: flex; flex-direction: column; gap: 2rem; }

/* Generic flex-row utility for small inline groupings (who-bar action
   buttons, form submit/cancel rows) shared across the 5 auth-gated pages. */
.flex-row { display: flex; align-items: center; gap: 1rem; }
