/* ==========================================================
   Cards
========================================================== */

.card {

    background: var(--dark-iron);

    border: 1px solid var(--gunmetal);

    border-radius: var(--border-radius);

    padding: 24px;

    box-shadow: var(--shadow-small);

}
/* ========================================
   Page Header
======================================== */

.page-header {

    margin-bottom: 1.5rem;
}

.page-title {

    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bright-steel);
    margin-bottom: .35rem;
}

.page-subtitle {

    color: var(--steel);
    font-size: 1rem;

}
.players-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 1.5rem;

}
.players-header-actions {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 0.75rem;

    margin-left: auto;

}
.sidebar-divider {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 1rem 0;
    opacity: 0.5;
}
.logout-link {

    cursor: pointer;

    color: var(--text-secondary);

    transition: color 0.2s ease;

}

.logout-link:hover {

    color: var(--accent-color);

    text-decoration: underline;

}
.admin-only {
    display: none
}
/* ===========================
   Buttons
=========================== */

.form-actions {

    display: flex;

    justify-content: flex-start;

    gap: 12px;

    margin-top: 24px;

}

.button-primary,
.button-secondary,
.primary-button,
.secondary-button {

    min-width: 140px;

    padding: 12px 24px;

    border: none;

    border-radius: var(--border-radius);

    font-family: var(--font-body);

    font-size: 0.95rem;

    font-weight: 600;

    cursor: pointer;

    transition:
        background-color var(--transition-speed),
        transform var(--transition-speed);

}

/* ===========================
   Primary Button
=========================== */

.button-primary,
.primary-button {

    background: var(--forge-orange);

    color: white;

}

.button-primary:hover {

    background: var(--forge-orange-hover);

    transform: translateY(-2px);

}

/* ===========================
   Secondary Button
=========================== */

.button-secondary,
.secondary-button {

    background: var(--gunmetal);

    color: var(--bright-steel);

    border: 1px solid var(--input-border);

}

.view-season-button {

    display: block;

    width: 180px;

    margin: 1.5rem auto 0;

}

.view-season-button:hover {

    background: var(--forge-orange);

    border-color: var(--forge-orange);

    color: white;

}

.button-secondary:hover {

    background: #3A3A40;

    transform: translateY(-2px);

}
/* ===========================
   Form Textarea
=========================== */

.form-textarea {

    width: 100%;

    min-height: 90px;

    padding: 12px 16px;

    background: var(--input-bg);

    border: 1px solid var(--input-border);

    border-radius: var(--border-radius);

    color: var(--bright-steel);

    font-family: var(--font-body);

    font-size: 0.95rem;

    line-height: 1.5;

    resize: vertical;

    transition:
        border-color var(--transition-speed),
        box-shadow var(--transition-speed);

}

.form-textarea::placeholder {

    color: var(--steel);

}

.form-textarea:focus {

    outline: none;

    border-color: var(--forge-orange);

    box-shadow: 0 0 0 3px rgba(198, 90, 34, 0.2);

}
/* ===========================
   Recent Results
=========================== */

.recent-result {

    padding: 12px 0;

}

.recent-result:not(:last-child) {

    border-bottom: 1px solid var(--gunmetal);

}

.recent-result-fixture {

    font-weight: 700;

    color: var(--bright-steel);

    margin-bottom: 4px;

}

.recent-result-score {

    color: var(--steel);

    font-size: 0.9rem;

    margin-bottom: 6px;

}

.recent-result-winner {

    color: var(--forge-orange);

    font-weight: 700;

    font-size: 0.9rem;

}
.recent-result-winner {

    display: flex;

    align-items: center;

    gap: 6px;

    color: var(--forge-orange);

    font-weight: 700;

    font-size: 0.9rem;

}

.recent-result-icon {

    font-size: 18px;

}

.fixture-winner-highlight {

    color: var(--forge-orange);

    font-weight: 700;

}

.archive-tabs {

    display: flex;

    gap: 0.5rem;

    margin-bottom: 0;

}

.archive-tab {

    background: var(--surface-secondary);

    color: var(--text-primary);

    border: 2px solid transparent;

    border-bottom: none;

    padding: 0.75rem 1.5rem;

    border-radius: 8px 8px 0 0;

    cursor: pointer;

    font-weight: 600;

    transition: all 0.2s ease;

    position: relative;

    top: 2px;

}

.archive-tab:hover {

    border-color: var(--forge-orange);

}

.archive-tab.active {

    background: var(--forge-orange);

    color: white;

    border-color: var(--forge-orange);

    z-index: 2;

}

.archive-tab-content > .card {

    margin-top: 0;

}

.admin-only {
    display: none;
}

.admin-only.visible {
    display: flex;
}