/* Course library page styles (moved out of course_library.xhtml inline block) */
.course__container {
    display: flex;
    min-height: calc(100vh - 100px);
    background-color: #ffffff;
}
.course__criteria {
    width: 280px;
    padding: 20px;
    background: #f8f9fa;
    border-right: 1px solid #dee2e6;
}
.course__criteria h4 {
    color: #333;
    margin: 15px 0 10px 0;
    font-size: 1rem;
}
.course__list {
    flex: 1;
    padding: 20px;
}
.search-input {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
}
.search-input .ui-inputtext {
    flex: 1;
    padding: 8px 12px;
}
.ui-datatable {
    border: 1px solid #dee2e6;
}
.ui-datatable thead th {
    background: #f8f9fa;
    padding: 10px;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #dee2e6;
}
.ui-datatable tbody td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}
.ui-datatable tbody tr:hover {
    background-color: #f8f9fa;
}
.competency-item {
    margin-bottom: 4px;
    font-size: 0.9em;
}
.custom-button {
    background-color: #1e3161 !important;
    border-color: #1e3161 !important;
    color: white !important;
}
.custom-button:hover {
    opacity: 0.9;
}
.course__criteria .ui-selectonemenu,
.course__criteria .ui-selectcheckboxmenu {
    width: 100% !important;
    margin-bottom: 10px;
}
#priceFilterPanel .ui-grid {
    margin-top: 10px;
}
#priceFilterPanel .ui-inputtext {
    width: 100px;
}
.course-provider {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 3px;
}
.course-code {
    font-weight: bold;
    color: #333;
    margin-bottom: 3px;
}
.pending-indicator {
    color: #dc3545;
    margin-left: 3px;
}
@media screen and (max-width: 768px) {
    .course__container {
        flex-direction: column;
    }
    .course__criteria {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }
    .search-input {
        flex-direction: column;
    }
    .ui-datatable-reflow .ui-datatable-data td {
        border-bottom: 1px solid #eee;
    }
}
.ui-paginator {
    padding: 10px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}
/* loading indicator: barely-dimmed page, spinner top-center */
.ui-widget-overlay {
    background: #000 !important;
    opacity: 0.05 !important;
}
.loading-dialog .ui-dialog-content {
    background: transparent;
    overflow: hidden;
}
.course-card-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
}
