/**
 * Schedule Page Styles
 * 
 * This file contains styles specific to the schedule.php page only.
 * Global styles (buttons, forms, layout) are in style.css
 */

/* Games Table */
.games-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.games-table thead {
    background: var(--primary);
    color: white;
}

.games-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.games-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.games-table tbody tr:hover {
    background: #f8f9fa;
}

.games-table tbody tr:last-child td {
    border-bottom: none;
}

/* Game Status */
.game-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-final {
    background: #10b981;
    color: white;
}

.status-scheduled {
    background: #3b82f6;
    color: white;
}

.status-live {
    background: #ef4444;
    color: white;
}

/* Score */
.score {
    font-weight: 600;
    font-size: 1.125rem;
}

.score-empty {
    color: var(--gray);
}

/* Team Display (Schedule-specific) */
.schedule-table .team-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.schedule-table .team-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.schedule-table .team-info {
    display: flex;
    flex-direction: column;
}

.schedule-table .team-name {
    font-weight: 500;
}

.schedule-table .team-alias {
    color: var(--gray);
    font-size: 0.875rem;
}

.schedule-table .team-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.schedule-table .team-link:hover {
    opacity: 0.7;
}

.schedule-table .team-link .team-logo {
    transition: transform 0.2s;
}

.schedule-table .team-link:hover .team-logo {
    transform: scale(1.1);
}

.schedule-table .team-link .team-name {
    color: var(--primary);
    transition: color 0.2s;
}

.schedule-table .team-link:hover .team-name {
    color: var(--dark);
    text-decoration: underline;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: var(--dark);
    background: white;
}

.pagination a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination .current {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* No Games Message */
.no-games {
    text-align: center;
    padding: 3rem 0;
    color: var(--gray);
}

.no-games p {
    font-size: 1.125rem;
}

/* Schedule Intro Section */
.schedule-intro {
    max-width: 800px;
    margin: 0 auto 2.5rem;
    text-align: center;
    padding: 0 1rem;
}

.schedule-intro p:first-child {
    font-size: 1.125rem;
    color: var(--dark);
    line-height: 1.7;
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.schedule-intro p:last-child {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

/* Schedule Overview Box */
.schedule-overview {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light);
    border-radius: 8px;
}

.schedule-overview p {
    margin: 0;
    color: var(--gray);
    font-size: 0.95rem;
}

/* About Schedule Section */
.about-schedule {
    margin-top: 3rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: 8px;
}

.about-schedule h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.about-schedule p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.about-schedule p:last-child {
    margin: 0;
}

.about-schedule ul {
    color: var(--gray);
    line-height: 1.6;
    margin-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

/* Pagination Info */
.pagination-info {
    text-align: center;
    color: var(--gray);
    margin-top: 1rem;
}

