/* Public coach profile */

.sf-coach-card .sf-coach-role-ring {
    grid-template-columns: 1fr;
    place-items: center;
    text-align: center;
}

.sf-coach-role-mark {
    display: block;
    color: #f4f4f1;
    font-family:
        "Arial Narrow",
        Arial,
        Helvetica,
        sans-serif;
    font-size: 82px;
    font-weight: 800;
    letter-spacing: -4px;
    line-height: 1;
    text-shadow:
        0 3px 0 #5b5d61,
        0 7px 15px rgba(0, 0, 0, 0.8);
}

.sf-coach-card .sf-name-column h1 {
    font-size: 58px;
    line-height: 1.02;
    text-wrap: balance;
}

.sf-coach-card .sf-athlete-detail {
    font-size: 27px;
}

.sf-coach-score-pending .sf-score-number {
    font-size: 104px;
    line-height: 0.95;
}

.sf-coach-score-pending .sf-score-caption b {
    letter-spacing: 1.4px;
}

/*
 * Canonical card geometry
 *
 * Team, athlete, and coach cards use the same four-section
 * vertical structure. This temporary coach row reserves the
 * exact position of the future coach voting controls.
 */

.sf-coach-pending-row {
    display: grid;
    grid-template-columns:
        minmax(40px, 1fr)
        auto
        minmax(40px, 1fr);
    align-items: center;
    gap: 28px;
    min-height: 190px;
    padding: 28px 42px;
    border-top: 1px solid #25292e;
    border-bottom: 1px solid #25292e;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.018),
            rgba(0, 0, 0, 0.08)
        ),
        #050607;
}

.sf-coach-pending-rule {
    display: block;
    width: 100%;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            #8e939a
        );
}

.sf-coach-pending-rule:last-child {
    background:
        linear-gradient(
            90deg,
            #8e939a,
            transparent
        );
}

.sf-coach-pending-message {
    display: flex;
    min-width: 290px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-align: center;
}

.sf-coach-pending-message span {
    color: var(--sf-red-bright);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
}

.sf-coach-pending-message strong {
    color: var(--sf-silver);
    font-family:
        "Trebuchet MS",
        Arial,
        Helvetica,
        sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

@media (max-width: 520px) {
    .sf-coach-pending-row {
        gap: 18px;
        padding-right: 26px;
        padding-left: 26px;
    }

    .sf-coach-pending-message {
        min-width: 260px;
    }
}


/* Coach voting controls */
.sf-coach-card .sf-coach-vote-row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px;
}

.sf-coach-card .sf-coach-vote-row > form {
    min-width: 0;
    width: 100%;
}

.sf-coach-card .sf-coach-vote-row .sf-action-button {
    box-sizing: border-box;
    width: 100%;
}

.sf-coach-vote-status {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 50%;
    width: min(860px, calc(100% - 24px));
    padding: 14px 20px;
    transform: translateX(-50%);
    border: 2px solid #d8b652;
    border-radius: 999px;
    background: #090d12;
    color: #ffffff;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 520px) {
    .sf-coach-card .sf-coach-vote-row {
        gap: 10px;
    }

    .sf-coach-vote-status {
        top: 6px;
        padding: 10px 14px;
        font-size: 0.82rem;
    }
}
