/* NHL Team Data page — dark navy theme */

/* ── Header ──────────────────────────────────────────────── */
.team-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1rem;
    margin: 1.5rem 0;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
}

.team-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
}

.team-header-info h2 {
    color: #e2e8f0;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.record-summary {
    font-size: 0.95rem;
    font-weight: 400;
    color: #94a3b8;
    margin-left: 0.5rem;
}

.standings-summary {
    color: #93c5fd;
    font-size: 0.9rem;
    margin: 0;
}

/* ── Stats section ───────────────────────────────────────── */
.stats-section {
    margin-bottom: 2rem;
}

.record-div-content {
    display: none;
    margin-top: 0.75rem;
}

.toggle-button {
    cursor: pointer;
    background: rgba(147, 197, 253, 0.15);
    color: #93c5fd;
    padding: 6px 14px;
    border: 1px solid rgba(147, 197, 253, 0.3);
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.15s;
}

.toggle-button:hover {
    background: rgba(147, 197, 253, 0.25);
    color: #fff;
}

/* ── Tables ──────────────────────────────────────────────── */
.nhl-table tbody td {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    font-size: 0.9rem;
    vertical-align: middle;
}

.players-table tbody tr {
    height: 68px;
}

/* ── Roster table specifics ──────────────────────────────── */
.player-headshot {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.player-headshot:hover {
    transform: scale(3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .team-header {
        gap: 0.75rem;
        padding: 1rem 0.75rem;
    }

    .team-header-info h2 {
        font-size: 1.1rem;
    }

    .nhl-table thead th,
    .nhl-table tbody td {
        padding: 8px 10px;
        font-size: 0.78rem;
    }

    .player-headshot {
        width: 28px;
        height: 28px;
    }

    /* Hide headshot column — jersey, name, pos, [headshot], status, country */
    .players-table th:nth-child(4),
    .players-table td:nth-child(4) {
        display: none;
    }
}
