/**
 * Single Programs Page Styles
 * 
 * Styles for the single programs page pill design
 */

/* Program Additional Info Styles - Same as Classes List Widget */
.service-single-content .class-additional-info {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-single-content .class-additional-info span {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 400;
    color: #6c757d;
    background: #f8f9fa;
    padding: 4px 10px;
    border-radius: 20px;
    margin-right: 0;
    margin-bottom: 0;
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
}

.service-single-content .class-additional-info span:hover {
    background: #e9ecef;
    color: #495057;
}

.service-single-content .class-additional-info i {
    margin-right: 4px;
    font-size: 10px;
    width: 12px;
    text-align: center;
    color: inherit;
}

.service-single-content .class-duration {
    color: #6c757d !important;
    background: #f8f9fa !important;
    border-color: #e9ecef !important;
}

.service-single-content .class-duration:hover {
    background: #e9ecef !important;
    color: #495057 !important;
}

.service-single-content .class-duration i {
    color: inherit !important;
}

.service-single-content .class-level {
    color: #6c757d !important;
    background: #f8f9fa !important;
    border-color: #e9ecef !important;
}

.service-single-content .class-level:hover {
    background: #e9ecef !important;
    color: #495057 !important;
}

.service-single-content .class-level i {
    color: inherit !important;
}

.service-single-content .class-category {
    color: #6c757d !important;
    background: #f8f9fa !important;
    border-color: #e9ecef !important;
}

.service-single-content .class-category:hover {
    background: #e9ecef !important;
    color: #495057 !important;
}

.service-single-content .class-category i {
    color: inherit !important;
}

/* Lesson Meta Pills - Same styling as main program info */
.lesson-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.lesson-meta span {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 400;
    color: #6c757d;
    background: #f8f9fa;
    padding: 4px 10px;
    border-radius: 20px;
    margin-right: 0;
    margin-bottom: 0;
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
}

.lesson-meta span:hover {
    background: #e9ecef;
    color: #495057;
}

.lesson-meta i {
    margin-right: 4px;
    font-size: 10px;
    width: 12px;
    text-align: center;
    color: #6c757d;
}

/* Lesson Meta Pill Colors */
.lesson-meta .class-duration {
    color: #007bff !important;
    background: #e7f3ff !important;
    border-color: #b3d9ff !important;
}

.lesson-meta .class-duration:hover {
    background: #cce7ff !important;
    color: #0056b3 !important;
}

.lesson-meta .class-duration i {
    color: #007bff !important;
}

.lesson-meta .class-level {
    color: #28a745 !important;
    background: #e8f5e8 !important;
    border-color: #c3e6c3 !important;
}

.lesson-meta .class-level:hover {
    background: #d4edda !important;
    color: #1e7e34 !important;
}

.lesson-meta .class-level i {
    color: #28a745 !important;
}

.lesson-meta .class-category {
    color: #6f42c1 !important;
    background: #f3e8ff !important;
    border-color: #d1b3ff !important;
}

.lesson-meta .class-category:hover {
    background: #e6d7ff !important;
    color: #5a2d91 !important;
}

.lesson-meta .class-category i {
    color: #6f42c1 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-single-content .class-additional-info {
        gap: 6px;
        margin-top: 15px;
        margin-bottom: 15px;
        padding-top: 15px;
    }
    
    .service-single-content .class-additional-info span {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .lesson-meta {
        gap: 6px;
        margin-top: 12px;
    }
    
    .lesson-meta span {
        font-size: 10px;
        padding: 3px 8px;
    }
}

/* Program Schedule Simplified Design */
.program-schedule {
    margin: 20px 0;
}

.program-schedule h3 {
    position: relative;
    padding-bottom: 8px;
}

.program-schedule h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background: var(--primary-color, #333);
    border-radius: 1px;
}

.schedule-day-item:hover {
    background: var(--secondary-color, #ffffff) !important;
    border-color: #dee2e6 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transform: none;
}

.schedule-day-item .time-slots span {
    transition: all 0.2s ease;
}

.schedule-day-item:hover .time-slots span {
    background: transparent !important;
    color: inherit !important;
}

/* Responsive adjustments for schedule */
@media (max-width: 768px) {
    .schedule-day-item {
        padding: 10px 12px !important;
    }
    
    .schedule-day-item > div {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px;
    }
    
    .schedule-day-item .time-slots {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .schedule-day-item .time-slots span {
        margin-left: 0 !important;
    }
}
