/* User Menu Styling */
.user-footer {
    background-color: #f4f4f4;
    padding: 10px;
    border-top: 1px solid #dee2e6;
}

.user-footer .btn {
    width: 100%;
}

/* User body links */
.user-body {
    padding: 0;
    border-top: 1px solid #dee2e6;
}

.user-body a {
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
    display: block;
    border: none !important;
}

.user-body a:hover {
    background-color: #f4f4f4;
}

/* Remove default borders from dropdown menu items */
.user-menu .dropdown-menu li {
    border: none !important;
}

.user-menu .dropdown-menu {
    border: 1px solid rgba(0,0,0,.15);
}

/* Password Toggle */
.password-toggle {
    cursor: pointer;
    user-select: none;
}

.password-toggle:hover {
    background-color: #e9ecef;
}

/* DataTables Custom Styling */
#users-table_wrapper .dataTables_filter input {
    border-radius: 4px;
}

#users-table_wrapper .dataTables_length select {
    border-radius: 4px;
}

.table-bordered td, .table-bordered th {
    vertical-align: middle;
}

.btn-group-sm > .btn, .btn-sm {
    margin-right: 2px;
}

.dataTables_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    margin-left: -100px;
    margin-top: -26px;
    text-align: center;
    padding: 20px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Delete Confirmation Modal Styling */
#deleteConfirmModal .modal-header {
    border-bottom: none;
}

#deleteConfirmModal .modal-footer {
    border-top: none;
    justify-content: center;
    padding: 1.5rem;
}

#deleteConfirmModal .modal-body {
    padding: 2rem;
}

#deleteConfirmModal .fa-trash-alt {
    opacity: 0.8;
}

#deleteConfirmModal .btn {
    min-width: 120px;
    font-weight: 500;
}

#deleteConfirmModal .modal-dialog {
    max-width: 450px;
}

/* Toaster Notifications */
.toast-container {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 9999;
}

.toast {
    min-width: 300px;
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.toast-success {
    background-color: #28a745;
    color: white;
}

.toast-error {
    background-color: #dc3545;
    color: white;
}

.toast-info {
    background-color: #17a2b8;
    color: white;
}

.toast-warning {
    background-color: #ffc107;
    color: #212529;
}

