/* ── Easy UX: readable, touch-friendly, plain-language helpers ── */

/* Larger tap targets on phones */
@media (max-width: 767px) {
    .fitpro-ui .club-btn,
    .fitpro-ui .club-btn-sm,
    .trainer-portal .club-btn,
    .portal-shell .club-btn {
        min-height: 2.75rem;
        padding-inline: 1rem;
    }

    .fitpro-ui .club-table .club-btn-sm,
    .fitpro-ui .fx-row-actions .club-btn-sm {
        min-height: 2.5rem;
        min-width: 2.5rem;
    }
}

/* Auth: 4 panel types (admin, staff, trainer, member) */
.fitpro-ui .fx-auth-roles--4 {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 480px) {
    .fitpro-ui .fx-auth-roles--4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Step-by-step help box */
.easy-help {
    margin-bottom: 1.25rem;
    padding: 1rem 1.125rem;
    border-radius: var(--fx-radius-lg, 0.875rem);
    border: 1px solid color-mix(in srgb, var(--fx-accent, #465fff) 22%, var(--fx-border, #e5e7eb));
    background: color-mix(in srgb, var(--fx-accent, #465fff) 5%, var(--fx-surface, #fff));
}

.easy-help__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--fx-text, #111);
    margin-bottom: 0.65rem;
}

.easy-help__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.5rem;
    background: color-mix(in srgb, var(--fx-accent, #465fff) 15%, transparent);
    color: var(--fx-accent, #465fff);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.easy-help__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.easy-help__step {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--fx-text-muted, #6b7280);
}

.easy-help__num {
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    background: var(--fx-accent, #465fff);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.1rem;
}

.easy-help__note {
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px dashed var(--fx-border, #e5e7eb);
    font-size: 0.75rem;
    color: var(--fx-text-muted, #6b7280);
}

/* Quick action cards (portal + dashboards) */
.easy-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 480px) {
    .easy-actions--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.easy-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 5.5rem;
    padding: 0.875rem 0.5rem;
    border-radius: var(--fx-radius-lg, 0.875rem);
    border: 1px solid var(--fx-border, #e5e7eb);
    background: var(--fx-surface, #fff);
    text-decoration: none;
    color: var(--fx-text, #111);
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.easy-action:hover {
    border-color: color-mix(in srgb, var(--fx-accent, #465fff) 35%, var(--fx-border));
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.easy-action__icon {
    font-size: 1.35rem;
    line-height: 1;
}

.easy-action__label {
    font-size: 0.8125rem;
    font-weight: 700;
}

.easy-action__hint {
    font-size: 0.6875rem;
    color: var(--fx-text-muted, #6b7280);
}

/* Portal shell alignment with fitpro */
.portal-shell.fitpro-ui {
    background: var(--fx-bg, #f4f6f9);
    color: var(--fx-text, #111);
    min-height: 100dvh;
}

.portal-shell .portal-bottom-nav {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 50;
    padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--fx-surface, #fff) 92%, transparent);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--fx-border, #e5e7eb);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.06);
}

.portal-shell .portal-bottom-nav__inner {
    display: flex;
    justify-content: space-around;
    gap: 0.25rem;
    max-width: 42rem;
    margin-inline: auto;
}

.portal-shell .portal-nav-item {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    min-height: 2.75rem;
    padding: 0.4rem 0.25rem;
    border-radius: 0.75rem;
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--fx-text-muted, #6b7280);
    text-decoration: none;
}

.portal-shell .portal-nav-item svg {
    width: 1.25rem;
    height: 1.25rem;
}

.portal-shell .portal-nav-item--active {
    color: var(--fx-accent, #465fff);
    background: color-mix(in srgb, var(--fx-accent, #465fff) 12%, transparent);
}

.portal-shell .portal-main {
    max-width: 42rem;
    margin-inline: auto;
    padding: 1rem 1rem 5.5rem;
}

.portal-shell .portal-card {
    border-radius: var(--fx-radius-lg, 0.875rem);
    border: 1px solid var(--fx-border, #e5e7eb);
    background: var(--fx-surface, #fff);
    padding: 1.125rem;
    margin-bottom: 1rem;
}

/* Plain-language form labels */
.club-label-hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: var(--fx-text-muted, #6b7280);
    font-weight: 400;
}
