/* Criteria – Site */

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.page-header-left h1 {
    margin: 0;
}

.page-header-left .page-subtitle {
    margin-top: 4px;
    color: #666;
}

.page-header-right {
    display: flex;
    align-items: center;
}

.admin-table th,
.admin-table td {
    text-align: center;
    vertical-align: middle;
}

.admin-table th:nth-child(1),
.admin-table td:nth-child(1),
.admin-table th:nth-child(2),
.admin-table td:nth-child(2) {
    text-align: left;
}

th.sortable {
    cursor: pointer;
    user-select: none;
}

th.sortable:hover {
    background-color: #3a3a3a; /* assuming dark header */
}

.sort-indicator {
    margin-left: 6px;
    font-size: 10px;
    opacity: 0.7;
}

.clickable {
    cursor: pointer;
    color: #3a3a3a;
    text-decoration: underline;
}
.clickable:hover {
    text-decoration: underline;
}

.badge{
    cursor: pointer;

}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: #fff;
    padding: 24px;
    width: 420px;
    border-radius: 6px;
}

.modal-content h2 {
    margin-top: 0;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 8px 10px;
    box-sizing: border-box;
}

.checkbox-group {
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 24px;
}

.checkbox-group {
    margin-top: 4px;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;              /* ← this controls the distance */
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: 16px;
}