/* Group Reservation Modal Styles */
.reservation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.reservation-card {
    max-width: 900px;
    width: 100%;
    background: linear-gradient(135deg, #0f1930 0%, #1a2744 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(233, 69, 96, 0.2);
    border: 1px solid rgba(233, 69, 96, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.reservation-header {
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    padding: 30px;
    text-align: center;
    position: relative;
}

.reservation-header h2 {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.reservation-header p {
    color: rgba(255,255,255,0.9);
    margin-top: 10px;
    font-size: 16px;
}

.reservation-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s;
}

.reservation-close:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.reservation-body {
    padding: 30px;
    color: #e0e0e0;
}

.calendar-section {
    margin-bottom: 30px;
}

.calendar-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.calendar-title span {
    font-size: 24px;
}

.months-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.month-card {
    background: linear-gradient(145deg, #1a2744, #243454);
    border-radius: 16px;
    padding: 20px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.month-card:hover {
    border-color: #e94560;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.2);
}

.month-card.selected {
    border-color: #4caf50;
    background: linear-gradient(145deg, #1a3a2a, #244a3a);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
}

.month-card .month-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.month-card .month-year {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 15px;
}

.month-card .spots-left {
    background: rgba(233, 69, 96, 0.2);
    color: #ff6b6b;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.month-card.selected .spots-left {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.course-info {
    background: linear-gradient(145deg, #1a2744, #243454);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
}

.course-info h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-info li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.course-info li:last-child {
    border-bottom: none;
}

.course-info li span {
    color: #4caf50;
    font-size: 20px;
}

.benefits-section {
    background: linear-gradient(145deg, #1a3a2a, #244a3a);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.benefits-section h3 {
    color: #4caf50;
    font-size: 18px;
    margin-bottom: 15px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #e0e0e0;
}

.benefit-item .icon {
    font-size: 20px;
}

.price-section {
    text-align: center;
    padding: 20px;
    background: linear-gradient(145deg, #2a1a1a, #3a2a2a);
    border-radius: 16px;
    border: 1px solid rgba(233, 69, 96, 0.3);
    margin-bottom: 25px;
}

.price-section .price {
    font-size: 48px;
    font-weight: 800;
    color: #e94560;
    text-shadow: 0 0 30px rgba(233, 69, 96, 0.5);
}

.price-section .price-period {
    font-size: 16px;
    color: #aaa;
    margin-top: 5px;
}

.price-section .original-price {
    text-decoration: line-through;
    color: #666;
    font-size: 20px;
    margin-right: 15px;
}

.reserve-btn {
    width: 100%;
    padding: 18px 40px;
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.4);
}

.reserve-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(76, 175, 80, 0.6);
}

.reserve-btn:disabled {
    background: #555;
    cursor: not-allowed;
    box-shadow: none;
}

@media (max-width: 768px) {
    .months-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .reservation-header h2 {
        font-size: 22px;
    }
    
    .price-section .price {
        font-size: 36px;
    }
}
