/* v5.0 — styles for sign-in / sign-up / check-email screens + home auth CTA. */

.auth-cta {
    margin-top: 24px;
    border-top: 1px solid #e0e0e0;
    padding-top: 16px;
    text-align: center;
}

.auth-cta__sep {
    color: #888;
    margin: 8px 0;
    font-size: 14px;
}

.auth-cta .button-group {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 8px 0;
}

.auth-cta__slack-link {
    margin-top: 8px;
    color: #595959;
}

.auth-cta__slack-link a {
    color: #cd1417;
    text-decoration: none;
}

.auth-cta__slack-link a:hover {
    text-decoration: underline;
}

.auth-error {
    background: #ffe9e9;
    border: 1px solid #cd1417;
    color: #8a0e10;
    padding: 8px 12px;
    border-radius: 4px;
    margin: 12px 0;
    font-size: 14px;
}

.username-status {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    min-height: 16px;
}

.username-status--ok {
    color: #2d7a2d;
}

.username-status--err {
    color: #cd1417;
}

.form-hint {
    color: #595959;
    font-weight: normal;
}

.dev-hint {
    background: #fff8e1;
    padding: 8px 12px;
    border-radius: 4px;
    margin: 16px 0;
    color: #595959;
}

.dev-hint a {
    color: #cd1417;
}

/* Phase F: workshop banner shown on the player join screen when arriving via
   /?game=X. Renders workshop_name + welcome_message above the name input. */
.workshop-banner {
    background: #fff5f5;
    border-left: 4px solid #cd1417;
    padding: 12px 16px;
    margin: 16px 0;
    text-align: left;
    border-radius: 0 4px 4px 0;
}

.workshop-banner h3 {
    margin: 0 0 6px 0;
    color: #cd1417;
    font-size: 16px;
}

.workshop-banner p {
    margin: 0;
    white-space: pre-wrap;
    color: #262626;
}

/* Phase F: pause-game banner — shown to players when the facilitator
   pauses the timer. Server flips a `paused` flag in the WS state payload. */
.pause-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff8e1;
    border-bottom: 2px solid #cd1417;
    padding: 8px 16px;
    text-align: center;
    z-index: 50;
    color: #cd1417;
    font-weight: bold;
}
