/* SCHEDULE PAGE STYLES */

.schedule-page-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    min-height: 600px;
}

/* Tabs */
.schedule-tabs-page {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 20px;
}

.schedule-tabs-page .tab-btn {
    background: white;
    color: #05182f;
    border: 1px solid #ddd;
    padding: 12px 30px;
    font-family: 'Teko', sans-serif;
    font-size: 1.4rem;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.schedule-tabs-page .tab-btn:hover {
    background: #f1f1f1;
    transform: translateY(-2px);
}

.schedule-tabs-page .tab-btn.active {
    background: #05182f;
    color: var(--highlight, #00d4ff);
    border-color: #05182f;
    box-shadow: 0 5px 15px rgba(5, 24, 47, 0.2);
}

/* Content Animation */
.schedule-tab-content {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Matches Grid */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* Featured Match Card (Full Width on desktop if needed, or just styled differently) */
.match-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #05182f 0%, #0a2e52 100%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.1);
}

.match-card.featured .league-tag {
    background: var(--highlight, #00d4ff);
    color: #05182f;
}

.match-card.featured .date-tag {
    color: rgba(255,255,255,0.8);
}

.match-card.featured .match-versus {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.match-card.featured .team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.match-card.featured .team-logo-lg {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Teko', sans-serif;
    font-size: 2.5rem;
    border: 2px solid rgba(255,255,255,0.2);
}

.match-card.featured .team-name {
    font-family: 'Teko', sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
}

.match-card.featured .vs-badge {
    font-family: 'Teko', sans-serif;
    font-size: 3rem;
    color: var(--highlight, #00d4ff);
    font-style: italic;
}

/* Standard Match Card */
.match-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid #eee;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.match-card-header {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
    width: 100%;
}

.league-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #05182f;
    background: #eef2f7;
    padding: 3px 10px;
    border-radius: 4px;
    align-self: center;
}

.date-tag {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.match-versus-sm {
    margin-bottom: 20px;
}

.team-sm {
    font-family: 'Teko', sans-serif;
    font-size: 1.5rem;
    color: #05182f;
    line-height: 1.2;
}

.vs-text {
    display: block;
    color: var(--highlight, #00d4ff);
    font-weight: bold;
    font-size: 1rem;
    margin: 5px 0;
}

.match-info-sm p {
    color: #777;
    font-size: 0.95rem;
    margin: 0;
}

/* WhatsApp Buttons */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: scale(1.05);
    color: white;
}

.btn-whatsapp-sm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #25D366;
    border: 2px solid #25D366;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    margin-top: 15px;
}

.btn-whatsapp-sm:hover {
    background: #25D366;
    color: white;
}

.btn-whatsapp-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #25D366;
    color: #25D366;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-whatsapp-outline:hover {
    background: #25D366;
    color: white;
}

/* Trainings Section */
.trainings-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.training-info-card {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.training-info-card h3 {
    color: #856404;
    margin: 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.training-info-card p {
    color: #856404;
    margin: 0;
}

/* Schedule Table */
.schedule-table-page {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-radius: 10px;
    overflow: hidden;
}

.schedule-table-page th {
    background: #05182f;
    color: white;
    padding: 15px;
    text-align: left;
    font-family: 'Teko', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.schedule-table-page td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: #333;
    vertical-align: middle;
}

.schedule-table-page tr:last-child td {
    border-bottom: none;
}

.schedule-table-page tr:hover td {
    background: #f8f9fa;
}

.cat-badge {
    background: #eef2f7;
    color: #05182f;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
}

.table-action-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    text-decoration: none;
}

.table-action-btn:hover {
    background: #128C7E;
    color: white;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .match-card.featured {
        padding: 20px;
    }
    
    .match-card.featured .match-versus {
        gap: 20px;
    }
    
    .match-card.featured .team-logo-lg {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .match-card.featured .team-name {
        font-size: 1.5rem;
    }

    .table-responsive {
        overflow-x: auto;
    }
    
    .schedule-table-page th, .schedule-table-page td {
        white-space: nowrap;
    }
}
