.navbar-black {
    background-color: #000 !important;
    color: #fff;
}

.user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar-img {
    height: 48px;
    width: 48px;
    object-fit: cover;
}

.search-box {
    background-color: #000;
    /* black background */
    border: 1px solid #666;
    /* subtle border */
    border-radius: 4px;
}

.search-box .form-control {
    background-color: #000;
    border: none;
    color: #fff;
}

.search-box .form-control::placeholder {
    color: #aaa;
}

.search-box .search-icon {
    background-color: transparent;
    border: none;
    color: #aaa;
}

.overflow-auto {
    scrollbar-width: thin;
}

.overflow-auto::-webkit-scrollbar {
    width: 6px;
}

.overflow-auto::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

/* tasks */
/* 1. Force the small dropdown width */
.card-header .form-select-sm {
    width: 140px !important;
}

/* 2. Force the date-input width */
.card-header .input-group-sm .form-control-sm {
    width: 140px !important;
}

.card-header .input-group-text {
    background-color: transparent !important;
    border-left: none !important;
}

.card-header .input-group .form-control-sm {
    border-right: none !important;
}

thead.thead-light th {
    color: #86BC24 !important;
}

.view-toggle {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: none;
    background-color: transparent;
    color: hsl(0, 0%, 45%);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background-color: hsl(216, 4%, 25%);
    color: hsl(0, 0%, 100%);
}

.btn-icon.active {
    background-color: hsl(86, 48%, 44%);
    color: hsl(0, 0%, 100%);
}

.btn-outline-primary {
    color: black !important;
    background-color: transparent !important;
    border-color: hsl(86, 48%, 44%) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: hsl(86, 48%, 44%) !important;
    color: #fff !important;
    border-color: hsl(86, 48%, 44%) !important;
}

.bg-x {
    background-color: #007CB0;
    color: #fff !important;
}

.content-wrapper {
    background-color: #fff !important;
    position: relative;
}

.control-sidebar {
    width: 400px !important;
    padding: 20px;
}

.control-sidebar.control-sidebar-light {
    background-color: #fff !important;
    /* or any color you want */
}

#page-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1040;
    display: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
    opacity: 0;
}

body.control-sidebar-slide-open #page-backdrop {
    display: block;
    opacity: 1;
}

.control-sidebar {
    z-index: 1041 !important;
}

.custom-tabs {
    margin-bottom: 1.5rem;
}

.custom-tabs .nav-link {
    border: none !important;
    border-radius: 0;
}

.custom-tabs .nav-link.active {
    border-bottom: 4px solid #28a745 !important;
}

.payroll-card-body {
    overflow-y: auto;
}

.align-items-stretch{
    min-height: 80vh;
}
