/* ============================================
   TOURNAMENT ARCHIVES PAGE STYLES
   ============================================ */

.archives-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Archive accordion item */
.archive-item {
    border: 1px solid rgba(212, 164, 65, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.archive-item.open {
    border-color: rgba(212, 164, 65, 0.5);
}

.archive-header {
    width: 100%;
    background: none;
    border: none;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    text-align: left;
    cursor: pointer;
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    transition: background 0.2s;
}

.archive-header:hover {
    background: rgba(212, 164, 65, 0.07);
}

.archive-header-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.archive-name {
    font-size: 1rem;
    font-weight: 600;
}

.archive-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.archive-chevron {
    color: var(--gold);
    font-size: 0.75rem;
    transition: transform 0.25s;
    flex-shrink: 0;
}

.archive-item.open .archive-chevron {
    transform: rotate(180deg);
}

.archive-body {
    padding: 1.25rem;
    border-top: 1px solid rgba(212, 164, 65, 0.15);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Standings tables */
.standings-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.75rem;
    font-family: 'Montserrat', sans-serif;
}

.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 6px;
    border: 1px solid rgba(212, 164, 65, 0.15);
}

.standings-table {
    width: 100%;
    min-width: 380px;
    border-collapse: collapse;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
}

.standings-table thead {
    background: rgba(6, 24, 18, 0.9);
}

.standings-table th {
    padding: 0.6rem 0.9rem;
    text-align: left;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.standings-table th:last-child,
.standings-table td.score {
    text-align: right;
}

.standings-table tbody tr {
    border-top: 1px solid rgba(212, 164, 65, 0.1);
    transition: background 0.15s;
}

.standings-table tbody tr:hover {
    background: rgba(212, 164, 65, 0.05);
}

.standings-table td {
    padding: 0.6rem 0.9rem;
    color: var(--text-primary);
}

.standings-table td.rank {
    font-weight: 700;
    color: var(--gold);
    width: 2.5rem;
}

.standings-table td.score {
    font-weight: 600;
    color: var(--gold-bright);
}

/* First place highlight */
.standings-table tbody tr:first-child {
    background: rgba(212, 164, 65, 0.08);
}

.standings-table tbody tr:first-child td.rank {
    color: var(--gold);
}

.no-data-row td {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 1rem;
}
