.user-controls {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    margin-bottom: 20px;
}
.user-controls .form-group { margin-bottom: 0; }

/* Compact table */
#userTable tbody td {
    padding: 6px 8px;
    vertical-align: middle;
}
#userTable thead th {
    padding: 8px;
    vertical-align: middle;
}

/* Row hover */
#userTable tbody tr {
    transition: background-color 0.15s ease-in-out;
}
#userTable tbody tr:hover {
    background-color: #e3f2fd !important;
    cursor: pointer;
}

/* Password field wrapper */
#passwordWrapper {
    transition: opacity 0.2s ease;
}
#passwordWrapper.disabled-field {
    opacity: 0.4;
    pointer-events: none;
}

/* Section dividers in modal */
.form-section {
    border-top: 2px solid #007bff;
    margin-top: 20px;
    padding-top: 15px;
}
.form-section-title {
    color: #007bff;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Checkbox row styling */
.checkbox-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
}
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}
.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}