/* Match Detail Page Specific Styles */

/* Match Header */
.match-header {
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 32px;
    margin: 40px 0;
    text-align: center;
}

.match-info {
    color: var(--text-light);
    font-size: 1.1em;
    margin-bottom: 20px;
}

.match-info a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.match-info a:hover {
    color: var(--secondary);
}

.match-teams {
    display: grid;
    grid-template-columns: 2fr auto 2fr;
    gap: 20px;
    align-items: center;
    margin: 30px 0;
}

.team-name {
    font-size: 1.8em;
    font-weight: 700;
}

.team-name.home {
    text-align: right;
}

.team-name.away {
    text-align: left;
}

.team-name a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 700;
}

.team-name a:hover {
    color: var(--primary);
}

.match-score {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--secondary);
    background: var(--background);
    padding: 20px;
    border-radius: 15px;
    border: 3px solid var(--primary);
}

/* Players Cards */
.players-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.team-players-card {
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 32px;
}

.team-players-card h3 {
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 1.3em;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--background);
}

/* Players Table */
.players-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 20px;
    font-size: 1.05em;
    border-radius: 10px;
    overflow: hidden;
}

.players-table th {
    background: var(--table-header);
    color: var(--white);
    font-weight: 700;
    padding: 12px 8px;
    text-align: center;
}

.players-table th:first-child {
    border-top-left-radius: 10px;
}

.players-table th:last-child {
    border-top-right-radius: 10px;
}

.players-table td {
    padding: 12px 8px;
    text-align: center;
    border-bottom: 1px solid #eee;
    background: var(--white);
    transition: background 0.2s;
    color: var(--text-dark);
}

.players-table tr:nth-child(even) td {
    background: var(--table-row-alt);
}

.players-table tr:hover td {
    background: var(--table-row-hover);
}

.players-table .shirt-number {
    text-align: center;
    font-weight: 700;
    color: var(--secondary);
}

.players-table .player-name {
    text-align: left;
    font-weight: 600;
}

.players-table .player-name a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.players-table .player-name a:hover {
    color: var(--primary);
}

.borrowed-info {
    font-size: 0.8em;
    color: var(--text-light);
    font-style: italic;
    margin-top: 3px;
}

.borrowed-info a {
    color: var(--text-light);
    text-decoration: none;
}

.borrowed-info a:hover {
    color: var(--primary);
}

.player-goals {
    text-align: center;
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.1em;
}

.player-role {
    text-align: center;
}

.player-role img {
    width: 20px;
    height: 20px;
}

/* Missing Players Section */
.missing-players {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.missing-players h4 {
    color: var(--text-light);
    font-size: 1em;
    margin-bottom: 15px;
}

.missing-player {
    padding: 10px 15px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    margin-bottom: 8px;
    color: #856404;
}

.missing-player a {
    color: #856404;
    text-decoration: none;
    font-weight: 600;
}

.missing-player a:hover {
    color: #533f03;
}

/* FCF Link */
.fcf-link {
    text-align: center;
    margin: 40px 0;
    padding: 20px;
}

.fcf-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    background: var(--background);
    padding: 12px 20px;
    border-radius: 10px;
    transition: all 0.2s;
}

.fcf-link a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .match-teams {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .team-name.home,
    .team-name.away {
        text-align: center;
    }
    
    .team-name {
        font-size: 1.4em;
    }
    
    .match-score {
        font-size: 2em;
        padding: 15px;
    }
    
    .players-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .players-table {
        font-size: 0.9em;
    }
    
    .players-table th,
    .players-table td {
        padding: 8px 4px;
        font-size: 0.85em;
    }
    
    .players-table .player-name {
        font-size: 0.8em;
    }
    
    .team-players-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .match-header {
        padding: 20px;
    }
    
    .team-name {
        font-size: 1.2em;
    }
    
    .match-score {
        font-size: 1.8em;
        padding: 12px;
    }
} 
