/* Common styles shared across entity list pages */

.list-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.list-page-header .flex {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.list-title-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.list-title-link:hover {
    text-decoration: underline;
}

.muted-cell {
    color: var(--text-color-secondary);
}

.dialog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.dialog-footer .left-group,
.dialog-footer .right-group {
    display: flex;
    gap: 0.5rem;
}

.detail-label {
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

/* Course Dialog Specific */
.course-details .hasDatepicker {
    width: 100%;
}

.course-details .capacity-field, .number-field {
    display: flex;
    flex-direction: column;
}

.course-details .capacity-field input, .number-field input {
    width: 100%;
}

.dynamicHeight {
    height: 95vh !important;
}

.dynamicHeight .ui-dialog-content {
    height: 90% !important;
}

.ui-tabs-panels {
    overflow-y: scroll;
}