/* Calendar page specific styles - inherits from main style.css */
.calendar-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.calendar-info {
    text-align: center;
    margin-bottom: 2rem;
}

.calendar-info p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}
.schedule {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
    margin: 2rem 0;
}
.date-box {
    background: var(--base-color-second);
    color: var(--title-color);
    padding: 1rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--body-font);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: 0.5rem;
}

.date-label {
    line-height: 1.2;
}

.weekday {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    line-height: 1;
}

.weekday--fri {
    color: #2196F3;
}

.weekday--wed {
    color: #4CAF50;
}

.date-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.6);
    color: var(--title-color);
}

.date-tag--all {
    background: #2196F3;
    border-color: transparent;
    color: var(--text-color-light);
}

.date-tag--u13u15 {
    background: #4CAF50;
    border-color: transparent;
    color: var(--text-color-light);
}

.date-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.canceled {
    background: #d32f2f !important;
    color: white;
    position: relative;
    opacity: 0.8;
}
.lines{
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
}
.canceled::after {
    content: 'CANCELED';
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    letter-spacing: 1px;
}
.line {
    width: 50%;
    height: 3px;
    margin: 0;
    border-radius: 2px;
}
.blue { background: #2196F3; }
.green { background: #4CAF50; }
.yellow { background: #FFC107; }

/* Tablet & Mobile Styles */
@media (max-width: 768px) {
    .schedule {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.75rem;
        padding: 1rem;
    }
    .date-box {
        font-size: 0.9rem;
        padding: 0.875rem;
        align-items: center;
        text-align: center;
    }
    .date-tag {
        font-size: 0.7rem;
        align-self: center;
    }
    .calendar-info p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .schedule {
        grid-template-columns: 1fr;
    }
}