:root {
    --primary-blue: #3b82f6;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --bg-light: #f8fafc;
}

.history-page-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Inter', sans-serif;
}

/* --- Custom Select & Dropdown --- */
#selected-club-display {
    font-size: 0.95rem;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    background: #fff;
}

#selected-club-display:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#club-inner-search {
    font-family: inherit;
    font-size: 0.9rem;
}

.club-option {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
    transition: 0.2s;
}

.club-option:hover {
    background-color: var(--primary-blue) !important;
    color: white !important;
}

/* --- Info Banner --- */
.info-banner {
    background: #eff6ff;
    border-left: 4px solid var(--primary-blue);
    margin-bottom: 20px;
}

/* --- Table Styles --- */
.players-table {
    width: 100%;
    border-collapse: collapse;
}

.players-table th {
    background: #f1f5f9;
    padding: 12px;
    text-align: left;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.players-table td {
    padding: 15px 12px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

/* --- Status & Badges --- */
.time-badge {
    padding: 4px 10px;
    background: #f1f5f9;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-main);
}

.time-badge.active-now {
    color: #16a34a;
    font-weight: 700;
}

.status-dot {
    display: inline-block;
    width: 8px; height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    margin-left: 6px;
    box-shadow: 0 0 5px #22c55e;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    70% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

/* --- Pagination --- */
.pagination-internal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}

.page-btn {
    min-width: 40px; height: 40px;
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s;
    display: flex; align-items: center; justify-content: center;
}

.page-btn:hover:not(:disabled) {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: #eff6ff;
}

.page-btn.active {
    background: var(--primary-blue) !important;
    color: #fff !important;
    border-color: var(--primary-blue) !important;
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}