.form-card {
    background-color: #2b2b3c;
    padding: 20px;
    border-radius: 10px;
    margin: 15px 0;
}
/*.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}*/
.form-column {
    flex: 1;
    min-width: 250px;
}

.left-column {
    max-width: 250px;
}

.right-column {
    flex: 2;
}

.form-group {
    margin-bottom: 12px;
}

.form-control-dark, .form-select-dark {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #444;
    background-color: #3a3a4a;
    color: white;
    width: 100%;
}

.profile-pic-group {
    display: flex;
    flex-direction: column; /* label on top, avatar below */
    align-items: flex-start; /* align left */
    margin-bottom: 20px;
}

.avatar-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin-top: 20px;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #4cafef;
    cursor: pointer;
}

.avatar-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.form-actions {
    margin-top: 15px;
}

.btn-save {
    background-color: #4CAF50;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    border: none;
    margin-right: 10px;
}

    .btn-save:hover {
        background-color: #45a049;
    }

.btn-cancel {
    background-color: #f44336;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    border: none;
}

    .btn-cancel:hover {
        background-color: #d7372a;
    }
.pagination {
    display: flex;
    justify-content: end;
    gap: 10px;
    margin-top: 10px;
}

    .pagination button {
        padding: 5px 10px;
        border: none;
        background: #007bff;
        color: white;
        border-radius: 5px;
        cursor: pointer;
    }

        .pagination button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

.validation-message {
    color: #f44336;
}

ul.validation-errors {
    display: none;
}

.modal-body p, .modal-content {
    color: black;
}

span.emp-img {
    padding-right: 5px;
}

.searchBox {
    width: unset;
}

.custom-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

/* Smooth animation */
.custom-modal-animation {
    animation: fadeInScale 0.25s ease-out;
}

@@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.label-cell {
    background-color: #343a40; /* Dark */
    color: white;
    font-weight: 600;
    width: 40%;
}

.value-cell {
    background-color: #ffffff; /* White */
    color: #000;
}