/* ==========================================================================
   T7 Academy — TECHNICAL (functional/auth) pages stylesheet
   --------------------------------------------------------------------------
   Split out of t7-outside.css so that changes to the marketing pages
   (home-outside / Freemium, sections 1-21 of that file) can never wipe out
   the styling for our own functional pages — login, decision, club-start,
   club-register, club dashboard, club-players, club-player-join, parents,
   parent-join, parent-consent, subscription-selector, access-denied,
   lost-password, reset-password, subscriber-landing.

   Loaded together with t7-outside.css (for the shared topnav/reset/theme
   tokens defined there) on every page gated by my_theme_is_outside_site()
   in functions.php — this file only adds what's specific to those pages.
   ========================================================================== */


/* ==========================================================================
   22. LOGIN - eine Seite nur mit Login
   ========================================================================== */

.t7-login {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--bg);
    color: var(--text);
}

.t7-login__inner {
    width: 100%;
    max-width: 520px;
}

.t7-login__card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.10);
}

.t7-login__card h1 {
    text-align: center;
    color: var(--accent);
    margin: 0 0 12px;
}

.t7-login__card p {
    text-align: center;
    color: var(--muted);
}

.t7-form {
    margin-top: 24px;
}

.t7-form p {
    text-align: left;
    margin-bottom: 16px;
}

.t7-form label {
    color: var(--text);
    font-weight: 600;
}

.t7-form input[type="text"],
.t7-form input[type="email"],
.t7-form input[type="tel"],
.t7-form input[type="number"],
.t7-form input[type="date"],
.t7-form textarea {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-sizing: border-box;
    outline: none;
    background: var(--surface2);
    color: var(--text);
    font: inherit;
}

.t7-form input[type="text"],
.t7-form input[type="password"] {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-sizing: border-box;
    outline: none;
    background: var(--surface2);
    color: var(--text);
}

.t7-form input[type="text"]::placeholder,
.t7-form input[type="password"]::placeholder {
    color: var(--muted);
}

.t7-form input[type="text"]:focus,
.t7-form input[type="password"]:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.14);
}

.t7-form input[type="checkbox"] {
    accent-color: var(--accent);
}

.t7-button {
    width: 100%;
    padding: 14px 18px;
    border: 0;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
}

.t7-button--primary {
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    color: #001018;
}

.t7-button--primary:hover {
    filter: brightness(0.96);
}

.t7-form-error {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(228, 0, 43, 0.12);
    border: 1px solid rgba(228, 0, 43, 0.35);
    color: var(--text);
}

.t7-login__help {
    margin-top: 18px;
    text-align: center;
    color: var(--muted);
}

.t7-login__help a {
    color: var(--accent);
}

/* ==========================================================================
   23. SUBSCRIBER - LANDING
   ========================================================================== */

.t7-subscriber-landing {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--bg);
    color: var(--text);
}

.t7-subscriber-landing__inner {
    width: 100%;
    max-width: 640px;
}

.t7-subscriber-landing__card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px 32px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.10);
    text-align: center;
}

.t7-subscriber-landing__card h1 {
    margin: 0 0 12px;
    font-size: 1.8rem;
    color: var(--accent);
}

.t7-subscriber-landing__card p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--muted);
}

/* Optional: leichte Variation je nach Rolle später */
.t7-subscriber-landing__card--player h1 {
    color: var(--lp-green);
}

.t7-subscriber-landing__card--parent h1 {
    color: var(--lp-gold);
}

.t7-subscriber-landing__card--club_admin h1 {
    color: var(--lp-red);
}

/* Avatar + name on the left, status message/button on the right, with a
   gap between the two groups (and a smaller gap within each). */
.t7-subscriber-landing__profile-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    text-align: left;
}

.t7-subscriber-landing__profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.t7-subscriber-landing__profile .t7-account-picker__avatar--lg {
    margin: 0;
}

.t7-subscriber-landing__profile h1 {
    margin: 0;
}

.t7-subscriber-landing__status {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.t7-subscriber-landing__status p {
    margin: 0;
}

/* ==========================================================================
   23. SUBSCRIBER - LANDING
   ========================================================================== */

.t7-decision {
    padding: var(--lp-section-y) 20px;
    background: var(--bg);
    color: var(--text);
}

.t7-decision__inner {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.t7-decision__grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.t7-decision__card {
    display: block;
    padding: 24px 22px;
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid var(--lp-rule);
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

.t7-decision__card h2 {
    margin: 0 0 8px;
}

.t7-decision__card--player h2 {
    color: var(--lp-green);
}

.t7-decision__card--parent h2 {
    color: var(--lp-gold);
}

.t7-decision__card--club h2 {
    color: var(--lp-red);
}

/* ==========================================================================
   24. CLUB Pages
   ========================================================================== */

.t7-club-start {
    min-height: calc(100vh - 120px);
    padding: var(--lp-section-y) 20px;
    background: var(--bg);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
}

.t7-club-start__inner {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
}

/* Card-Stil für alle Varianten */
.t7-club-start__inner > * {
    background: var(--surface);
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
    padding: 32px 32px;
    text-align: center;
}

/* Überschriften & Text */
.t7-club-start__inner h1 {
    margin: 0 0 12px;
    font-size: 1.8rem;
    color: var(--accent);
}

.t7-club-start__inner p {
    margin: 0 0 8px;
    font-size: 1.05rem;
    color: var(--muted);
}

/* CTA-Buttons */
.t7-club-start__cta,
.t7-club-start__cta-grid {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.t7-button {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 18px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.t7-button--primary {
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    color: #001018;
}

.t7-button--secondary {
    background: var(--surface2);
    color: var(--text);
    border: 1px solid var(--border);
}

.t7-button--primary:hover,
.t7-button--secondary:hover {
    filter: brightness(0.96);
}

/* Dashboard-Variante – später erweiterbar */
.t7-club-dashboard {
    min-height: calc(100vh - 120px);
    padding: var(--lp-section-y) 20px;
    background: var(--bg);
    color: var(--text);
}

.t7-club-dashboard__inner {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.t7-club-dashboard__header {
    text-align: left;
    margin-bottom: 24px;
}

.t7-club-dashboard__header h1 {
    margin: 0 0 12px;
    font-size: 1.8rem;
    color: var(--lp-gold);
}

.t7-club-dashboard__back {
    color: var(--accent-text, var(--text));
    font-size: 0.9rem;
    text-decoration: none;
}

.t7-club-dashboard__back:hover {
    text-decoration: underline;
}

.t7-club-dashboard__tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 780px) {
    .t7-club-dashboard__tiles {
        grid-template-columns: 1fr;
    }
}

.t7-club-dashboard__tile {
    background: var(--surface);
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
    padding: 24px;
    text-align: left;
    min-width: 0;
}

a.t7-club-dashboard__tile {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

a.t7-club-dashboard__tile:hover {
    transform: translateY(-2px);
    border-color: var(--accent, var(--lp-gold));
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.t7-club-dashboard__tile-link {
    display: block;
    color: inherit;
    text-decoration: none;
    border-radius: 12px;
    transition: background 0.15s ease;
}

.t7-club-dashboard__tile-link:hover {
    background: rgba(128, 128, 128, 0.06);
}

.t7-club-dashboard__invite-form {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.t7-club-dashboard__invite-form .t7-button-primary {
    width: 100%;
}

.t7-club-dashboard__players-form {
    max-width: 560px;
}

.t7-club-dashboard__player-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.t7-club-dashboard__player-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 4px;
    border-bottom: 1px solid var(--border);
}

.t7-club-dashboard__player-active {
    flex-shrink: 0;
    display: inline-flex;
}

.t7-club-dashboard__player-name {
    font-weight: 600;
    color: var(--text);
}

.t7-club-dashboard__player-email {
    flex: 1;
    color: var(--muted, var(--text));
    font-size: 0.85rem;
}

.t7-club-dashboard__grant-btn {
    flex-shrink: 0;
    padding: 6px 14px !important;
    font-size: 0.85rem !important;
}

.t7-club-dashboard__grant-form {
    display: none;
}

.t7-club-dashboard__filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text);
    cursor: pointer;
}

.t7-club-dashboard__player-invite {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-shrink: 0;
    font-size: 0.85rem;
    color: var(--text);
    cursor: pointer;
}

.t7-club-dashboard__tile h2 {
    margin: 0 0 12px;
    font-size: 1.1rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
}

.t7-club-dashboard__grid {
    display: grid;
    grid-template-columns: minmax(110px, 160px) 1fr;
    row-gap: 8px;
    column-gap: 16px;
}

.t7-club-dashboard__grid dt {
    font-weight: 600;
    color: var(--muted, var(--text));
}

.t7-club-dashboard__grid dd {
    margin: 0;
    color: var(--text);
}

.t7-club-dashboard__notice {
    color: var(--muted, var(--text));
    font-size: 0.95rem;
}

.t7-club-dashboard__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 0 4px;
}

.t7-club-dashboard__stat-num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--lp-gold);
}

.t7-club-dashboard__stat-label {
    font-size: 0.85rem;
    color: var(--muted, var(--text));
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}

@media (max-width: 560px) {
    .t7-club-dashboard__grid {
        grid-template-columns: 1fr;
        row-gap: 4px;
    }

    .t7-club-dashboard__grid dd {
        margin-bottom: 8px;
    }
}

.t7-club-register {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--bg);
    color: var(--text);
}

.t7-club-register__inner {
    width: 90%;
    max-width: 960px;
    margin: 0 auto;
}

.t7-club-register__card {
    background: var(--surface);
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
    padding: 32px 32px;
}

.t7-club-register fieldset {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px 18px;
    margin-bottom: 20px;
    background: var(--surface);
}

.t7-club-register legend {
    padding: 0 8px;
    font-weight: 600;
    color: var(--accent);
}

.t7-field-error {
    display: block;
    margin-top: 4px;
    font-size: 0.875rem;
    color: var(--lp-red);
}

.t7-field-error--checkbox {
    display: block;
    margin-top: 4px;
    font-size: 0.875rem;
    color: var(--lp-red);
}

/* ==========================================================================
   25. Lost an Reset Password Pages
   ========================================================================== */

/* Seite insgesamt zentriert im jeweiligen Theme */
.t7-lost-password-page,
.t7-access-denied-page,
.t7-parents-page,
.t7-parent-join-page,
.t7-parent-consent-page,
.t7-subscription-selector-page,
.t7-register-player-page,
.t7-adult-join-page,
.t7-my-players-page,
.t7-my-profile-page,
.t7-register-parent-page {
    min-height: calc(100vh - 120px);
    padding: var(--lp-section-y) 20px;
    background: var(--bg);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Container für Auth-Pages (Lost Password, Reset Password etc.) */
.t7-auth.t7-lost-password,
.t7-auth.t7-access-denied,
.t7-auth.t7-parents-nudge,
.t7-auth.t7-parent-join,
.t7-auth.t7-parent-consent,
.t7-auth.t7-subscription-selector,
.t7-auth.t7-register-player,
.t7-auth.t7-adult-join,
.t7-auth.t7-my-players,
.t7-auth.t7-my-profile {
    width: 100%;
    max-width: 480px;
    padding: 32px 28px;
    background: var(--surface);
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
}

/* The embedded WooCommerce login/register form wants more room than a
   single-field auth card. */
.t7-auth.t7-parent-join,
.t7-auth.t7-adult-join {
    max-width: 640px;
}

/* Überschrift */
.t7-auth.t7-lost-password h1,
.t7-auth.t7-access-denied h1,
.t7-auth.t7-parents-nudge h1,
.t7-auth.t7-parent-join h1,
.t7-auth.t7-parent-consent h1,
.t7-auth.t7-subscription-selector h1,
.t7-auth.t7-register-player h1,
.t7-auth.t7-adult-join h1,
.t7-auth.t7-my-players h1,
.t7-auth.t7-my-profile h1 {
    margin: 0 0 16px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
}

/* Einleitender Text */
.t7-auth.t7-lost-password p,
.t7-auth.t7-access-denied p,
.t7-auth.t7-parents-nudge p,
.t7-auth.t7-parent-join p,
.t7-auth.t7-parent-consent p,
.t7-auth.t7-register-player p,
.t7-auth.t7-adult-join p,
.t7-auth.t7-my-players p,
.t7-auth.t7-my-profile p {
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-muted, var(--text));
}

.t7-auth__help {
    margin-top: 16px;
    font-size: 0.9rem;
}

/* Formular-Layout */
.t7-lost-password-form p,
.t7-parents-nudge-form p {
    margin-bottom: 14px;
}

.t7-lost-password-form label,
.t7-parents-nudge-form label {
    font-weight: 600;
    display: inline-block;
    margin-bottom: 4px;
    color: var(--text);
}

/* Eingabefeld */
.t7-lost-password-form input[type="email"],
.t7-parents-nudge-form input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: 0.95rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.t7-lost-password-form input[type="email"]::placeholder,
.t7-parents-nudge-form input[type="email"]::placeholder {
    color: var(--text-muted, #9e9e9e);
}

.t7-lost-password-form input[type="email"]:focus,
.t7-parents-nudge-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent, #1f3cf3);
    box-shadow: 0 0 0 2px rgba(31, 60, 243, 0.18);
}

/* Button im T7-Stil, mit Accent-Farbe */
.t7-button-primary,
.pill-toggle.t7-button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    background: var(--accent, #1f3cf3);
    color: #ffffff;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: normal;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

/* Firefox adds an invisible inner border/padding to <button> that <a> never
   gets, making a button.t7-button-primary render taller than an otherwise
   identical a.t7-button-primary right next to it. */
button.t7-button-primary::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.t7-button-primary:hover,
.pill-toggle.t7-button-primary:hover {
    background: var(--accent-strong, #1528b5);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.t7-button-primary:active,
.pill-toggle.t7-button-primary:active {
    transform: translateY(1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Notices für Erfolg/Fehler mit Theme-Farben */
.t7-notice {
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.t7-notice-success {
    background: var(--success-bg, #e8f5e9);
}

.t7-notice-success,
.t7-notice-success * {
    color: var(--lp-green) !important;
}

.t7-notice-error {
    background: var(--error-bg, #ffebee);
}

.t7-notice-error,
.t7-notice-error * {
    color: var(--lp-red) !important;
}

.t7-status-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

.t7-status-badge--active {
    background: var(--success-bg, rgba(34, 197, 94, 0.15));
    color: var(--lp-green);
}

.t7-status-badge--muted {
    background: var(--surface2, rgba(128, 128, 128, 0.15));
    color: var(--muted, var(--text));
}

.t7-reset-password-page {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--bg);
    color: var(--text);
}

.t7-auth.t7-reset-password {
    width: 100%;
    max-width: 480px;
    padding: 32px 28px;
    background: var(--surface);
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
}

.t7-auth.t7-reset-password h1 {
    margin: 0 0 16px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
}

.t7-reset-password-form p {
    margin-bottom: 14px;
}

.t7-reset-password-form label {
    font-weight: 600;
    display: inline-block;
    margin-bottom: 4px;
    color: var(--text);
}

.t7-reset-password-form input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: 0.95rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.t7-reset-password-form input[type="password"]:focus {
    outline: none;
    border-color: var(--accent, #1f3cf3);
    box-shadow: 0 0 0 2px rgba(31, 60, 243, 0.18);
}

/* ==========================================================================
   26. LEGAL Pages (AGB, Datenschutzerklärung)
   ========================================================================== */

.t7-legal {
    min-height: calc(100vh - 120px);
    padding: var(--lp-section-y) 20px;
    background: var(--bg);
    color: var(--text);
}

.t7-legal__inner {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
}

.t7-legal__title {
    font-size: 1.8rem;
    margin-bottom: 24px;
    color: var(--accent);
}

.t7-legal__body {
    line-height: 1.7;
    font-size: 1rem;
}

.t7-legal__body h2,
.t7-legal__body h3 {
    margin: 32px 0 12px;
    line-height: 1.3;
    color: var(--text);
}

.t7-legal__body h2 { font-size: 1.4rem; }
.t7-legal__body h3 { font-size: 1.15rem; }

.t7-legal__body p,
.t7-legal__body li {
    margin-bottom: 14px;
    color: var(--muted);
}

.t7-legal__body ul,
.t7-legal__body ol {
    padding-left: 24px;
    margin-bottom: 14px;
}

.t7-legal__body a {
    color: var(--accent);
}

.t7-legal__body a:hover {
    text-decoration: none;
}

/* ==========================================================================
   27. ACCOUNT PICKER (subscriber-landing "viewing as" tiles)
   ========================================================================== */

.t7-account-picker__grid {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.t7-account-picker__tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 140px;
    padding: 20px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
    color: inherit;
    font: inherit;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.t7-account-picker__tile:hover {
    transform: translateY(-2px);
    border-color: var(--accent, var(--lp-gold));
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.t7-account-picker__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: #001018;
}

.t7-account-picker__avatar--lg {
    width: 72px;
    height: 72px;
    font-size: 22px;
    margin: 0 auto 12px;
}

.t7-account-picker__name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
}

/* ==========================================================================
   27. MY PLAYERS
   ========================================================================== */

.t7-my-players__list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.t7-my-players__row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--surface2);
    border-radius: 14px;
}

.t7-my-players__row .t7-account-picker__avatar {
    width: 40px;
    height: 40px;
    font-size: 14px;
    flex-shrink: 0;
}

.t7-my-players__name {
    flex: 1;
    font-weight: 700;
    color: var(--text);
    text-align: left;
}

.t7-my-players__status-muted {
    font-size: 0.85rem;
    color: var(--muted);
}

.t7-my-players__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.t7-my-players__switch {
    font-size: 0.85rem;
    color: var(--accent, var(--text));
    text-decoration: none;
    white-space: nowrap;
}

.t7-my-players__switch:hover {
    text-decoration: underline;
}

/* ==========================================================================
   28. MY PROFILE
   ========================================================================== */

.t7-my-profile__stats {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.t7-my-profile__club {
    margin-bottom: 20px;
    color: var(--text);
}

.t7-my-profile__stats h2 {
    margin: 0 0 6px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}

/* ==========================================================================
   29. WOOCOMMERCE ACCOUNT (address editing) — My Profile links out to WC's
   own address form rather than duplicating it, so it needs to inherit the
   site's dark theme instead of WC's unstyled defaults.
   ========================================================================== */

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--border);
}

.woocommerce-MyAccount-navigation-link a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--surface2);
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
}

.woocommerce-MyAccount-navigation-link.is-active a {
    background: var(--accent, #1f3cf3);
    color: #ffffff;
    font-weight: 700;
}

.woocommerce-MyAccount-content {
    max-width: 640px;
    margin: 0 auto;
    padding: 24px 20px;
    color: var(--text);
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3,
.woocommerce-MyAccount-content legend {
    color: var(--text);
}

.woocommerce-MyAccount-content .woocommerce-Address {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

.woocommerce-MyAccount-content .woocommerce-Address-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.woocommerce-MyAccount-content .form-row {
    margin-bottom: 14px;
}

.woocommerce-MyAccount-content label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--text);
}

.woocommerce-MyAccount-content input.input-text,
.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="tel"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content select,
.woocommerce-MyAccount-content textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 0.95rem;
}

.woocommerce-MyAccount-content .select2-container .select2-selection--single {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    height: auto;
    padding: 10px 14px;
}

.woocommerce-MyAccount-content .select2-selection__rendered {
    color: var(--text);
    line-height: normal;
    padding: 0;
}

.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content button[type="submit"] {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 999px;
    border: none;
    background: var(--accent, #1f3cf3);
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content button[type="submit"]:hover {
    background: var(--accent-strong, #1528b5);
}

.woocommerce-MyAccount-content .woocommerce-Message {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--text);
    margin-bottom: 16px;
}
