/* ============================================
   Important Dates Page Styles
   Import common styles first
   ============================================ */
@import url('style.css');

/* ============================================
   Important Dates Page Specific Styles
   ============================================ */
.dates-section {
    background: #fff;
    padding: 80px 0;
}

.dates-note {
    text-align: center;
    font-size: 15px;
    color: #666;
    font-style: italic;
    margin-bottom: 50px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #204198;
}

.dates-block {
    margin-bottom: 60px;
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    scroll-margin-top: 80px;
}

.dates-block:last-child {
    margin-bottom: 0;
}

.dates-block-title {
    font-size: 24px;
    font-weight: 700;
    color: #204198;
    margin-bottom: 30px;
    padding-bottom: 12px;
    border-bottom: 3px solid #204198;
    display: flex;
    align-items: center;
}

.dates-block-title::before {
    content: '📅';
    font-size: 24px;
    margin-right: 12px;
}

/* Timeline Layout */
.timeline {
    position: relative;
    padding-left: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 200px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #204198 0%, #2d5bb8 100%);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    min-height: 60px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item.highlight .timeline-date {
    background: linear-gradient(135deg, #204198 0%, #2d5bb8 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(32, 65, 152, 0.3);
}

.timeline-item.highlight .timeline-dot {
    background: #204198;
    width: 18px;
    height: 18px;
    border: 4px solid #fff;
    box-shadow: 0 0 0 3px #204198;
    left: 14px;
}

.timeline-item.highlight .timeline-text {
    color: #204198;
    font-weight: 600;
    font-size: 17px;
}

.timeline-date {
    width: 180px;
    flex-shrink: 0;
    text-align: right;
    padding-right: 30px;
    font-size: 16px;
    font-weight: 600;
    color: #204198;
    line-height: 1.4;
}

.timeline-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 30px;
    position: relative;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #204198;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #204198;
    flex-shrink: 0;
    position: absolute;
    left: 14px;
    z-index: 10;
    transition: all 0.3s;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 3px #204198, 0 0 0 6px rgba(32, 65, 152, 0.2);
}

.timeline-text {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    flex: 1;
    padding: 15px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.timeline-item:hover .timeline-text {
    background: #f0f7ff;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(32, 65, 152, 0.15);
}

/* TBA Style */
.timeline-date:contains("TBA"),
.timeline-date:contains("TBA") {
    color: #999;
    font-style: italic;
    font-weight: 500;
}

/* Responsive Design for Dates Page */
@media (max-width: 1024px) {
    .timeline::before {
        left: 150px;
    }
    
    .timeline-date {
        width: 130px;
        padding-right: 20px;
        font-size: 15px;
    }
    
    .timeline-dot {
        left: 14px;
    }
    
    .timeline-content {
        padding-left: 20px;
    }
}

@media (max-width: 768px) {
    .dates-section {
        padding: 50px 0;
    }
    
    .dates-block {
        padding: 25px 20px;
    }
    
    .dates-block-title {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .timeline::before {
        left: 120px;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 25px;
    }
    
    .timeline-date {
        width: 100%;
        text-align: left;
        padding-right: 0;
        padding-bottom: 10px;
        font-size: 15px;
        font-weight: 700;
        color: #204198;
        background: #fff;
        padding: 10px 15px;
        border-radius: 6px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        margin-bottom: 10px;
    }
    
    .timeline-item.highlight .timeline-date {
        background: linear-gradient(135deg, #204198 0%, #2d5bb8 100%);
        color: #fff;
    }
    
    .timeline-content {
        width: 100%;
        padding-left: 0;
        position: relative;
        padding-left: 35px;
    }
    
    .timeline-dot {
        left: 0;
        position: absolute;
    }
    
    .timeline-text {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .timeline-item.highlight .timeline-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .dates-note {
        font-size: 14px;
        padding: 12px;
        margin-bottom: 30px;
    }
    
    .dates-block {
        padding: 20px 15px;
    }
    
    .dates-block-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .timeline-date {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .timeline-text {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .timeline-item.highlight .timeline-text {
        font-size: 15px;
    }
    
    .timeline-dot {
        width: 12px;
        height: 12px;
        border-width: 2px;
    }
    
    .timeline-item.highlight .timeline-dot {
        width: 16px;
        height: 16px;
        border-width: 3px;
    }
}

