/* Curriculum List Shortcode Styles */

.hc-curriculum-list-wrapper {
    max-width: 1150px;
    margin: 0 auto;
    padding: 20px;
}

.hc-curriculum-category {
    margin-bottom: 60px;
}

.hc-curriculum-category-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #7bc713;
    margin-bottom: 30px;
    text-transform: none;
}

.hc-curriculum-card {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hc-curriculum-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.hc-curriculum-card-title-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 200px;
}

.hc-curriculum-number {
    font-weight: 600;
    color: #333;
}

.hc-curriculum-title {
    font-weight: 600;
    color: #333;
    font-size: 1.1em;
}

.hc-curriculum-dates {
    color: #666;
    font-size: 0.95em;
}

.hc-curriculum-card-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hc-curriculum-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85em;
    line-height: 1;
    white-space: nowrap;
}

.hc-curriculum-status-badge--full {
    background: #fee2e2; /* red-100 */
    color: #991b1b;      /* red-800 */
    border: 1px solid #fecaca; /* red-200 */
}

.hc-curriculum-booking-btn {
    background-color: #7bc713;
    color: #000;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.hc-curriculum-booking-btn:hover {
    background-color: #6aa810;
    color: #000;
}

.hc-curriculum-booking-btn--disabled {
    background-color: #e5e7eb; /* gray-200 */
    color: #374151; /* gray-700 */
    cursor: not-allowed;
    user-select: none;
}

.hc-curriculum-booking-btn--disabled:hover {
    background-color: #e5e7eb;
    color: #374151;
}

.hc-curriculum-toggle-info {
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    font-size: 1em;
    padding: 8px 12px;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.hc-curriculum-toggle-info:hover {
    color: #666;
}

.hc-curriculum-card-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 30px;
    border-top: 1px solid #e0e0e0;
    background: #f9f9f9;
}

.hc-curriculum-card-content.active {
    max-height: 5000px;
    padding: 30px;
}

.hc-curriculum-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.hc-curriculum-courses-column h3 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.hc-course-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.hc-course-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.hc-course-wk {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 1.05em;
}

.hc-course-details {
    color: #555;
}

.hc-course-date {
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

.hc-course-title {
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.hc-course-instructors {
    margin-bottom: 5px;
    color: #666;
    font-size: 0.95em;
}

.hc-course-location {
    color: #666;
    font-size: 0.95em;
}

.hc-curriculum-description-column {
    color: #333;
    line-height: 1.6;
}

.hc-curriculum-description-column h3,
.hc-curriculum-description-column h4 {
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #333;
}

.hc-curriculum-description-column h3:first-child,
.hc-curriculum-description-column h4:first-child {
    margin-top: 0;
}

.hc-curriculum-description-column p {
    margin-bottom: 15px;
}

.hc-curriculum-description-column ul,
.hc-curriculum-description-column ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.hc-curriculum-description-column li {
    margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hc-curriculum-list-wrapper {
        padding: 15px;
    }
    
    .hc-curriculum-category-title {
        font-size: 2em;
    }
    
    .hc-curriculum-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hc-curriculum-card-title-row {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .hc-curriculum-card-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    
    .hc-curriculum-booking-btn {
        width: 100%;
        text-align: center;
    }
    
    .hc-curriculum-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

