body {
    overflow-x: hidden;
}

.avatar-custom {
    width: 40px; 
    height: 40px; 
    background: var(--bs-primary); 
    color: #fff; 
    font-weight: 600; 
    font-size: 18px;
}

.profile .avatar-custom {
    width: 60px; 
    height: 60px; 
}

.toast {
    --bs-toast-bg: rgb(47 51 73);
}

.toast-container {
    z-index: 9999;
}

.table-responsive select {
    width: max-content !important;
    min-width: 100% !important;
}

.nav-align-top .nav-tabs .nav-link:not(.active):hover {
    border-block-end: none !important;
}

.work-hours-wrapper {
    position: relative; 
    overflow: visible;
}

.swal2-popup {
    background: #2f3349 !important;
    color: #fff !important;
}

.swal2-title,
.swal2-html-container {
    color: #fff !important;
}

.swal2-confirm {
    background-color: #d33 !important;
}

.swal2-cancel {
    background-color: #555 !important;
    color: #fff !important;
}

input[disabled],
input:disabled {
    cursor: not-allowed !important;
}

.loader-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bs-body-bg);
    z-index: 9999;
    transition: opacity .2s ease;
}

:root:not([data-bs-theme="dark"]) .loader-overlay {
    background: #ffffff;
}

[data-bs-theme="dark"] .loader-overlay {
    background: #0d0d0d;
}

[data-bs-theme="light"] .prev-days-card {
    color: var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color)));
}

.online-box-bg {
    background: #79cd1521;
}

.prev-days-wrapper::-webkit-scrollbar {
    height: 6px;
}

.date-scroll {
    white-space: nowrap;
}

.prev-days-card {
    min-width: 150px;
}

.daily-date-picker {
    width: 150px !important;
}

.waves-button, .waves-button:hover, .waves-button:visited, .waves-button-input {
    padding: 6px !important;
}

.btn:not(.dropdown-toggle):not([class*=btn-text-]) {
    transform: none !important;
}

.mmk-logo {
    width: 90%;
}

.layout-menu-collapsed .mmk-logo {
    width: 40px;
}

.layout-menu-hover .mmk-logo {
    width: 90%;
}

.select2-container[class*="daily-status--"] .select2-selection {
    border: 1px solid #ffffffd1 !important;
}

.select2-container[class*="daily-status--"] .select2-selection__rendered {
    font-weight: 600;
}

.daily-status--scheduled .select2-selection { background: #827e7e; }
.daily-status--out_of_order .select2-selection { background: #1c1c1ce3; }

.daily-status--car_waiting_for_box .select2-selection { background: #c01313e3; }
.daily-status--car_in_box .select2-selection { background: #e7eb12e3; border-color: #010101d1 !important; }

.daily-status--service_completed .select2-selection { background: #9e11f0e3; }
.daily-status--client_has_paid .select2-selection { background: #2011f0e3; }

.daily-status--customer_called .select2-selection { background: #11f054e3; }

.daily-status--car_in_box .select2-selection__rendered,
.daily-status--customer_called .select2-selection__rendered {
    color: #010101d1 !important;
}

.daily-status--scheduled .select2-selection__rendered,
.daily-status--out_of_order .select2-selection__rendered,
.daily-status--car_waiting_for_box .select2-selection__rendered,
.daily-status--service_completed .select2-selection__rendered,
.daily-status--client_has_paid .select2-selection__rendered {
    color: #ffffffd1 !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    margin-right: 5px;
}

.daily-footer-toggle {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
}

.daily-footer-toggle .menu-toggle-icon {
    block-size: 1.25rem;
    content: "";
    inline-size: 1.25rem;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M11 12a1 1 0 1 0 2 0a1 1 0 1 0-2 0'/%3E%3Cpath d='M3 12a9 9 0 1 0 18 0a9 9 0 1 0-18 0'/%3E%3C/g%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
}

.prev-days-card {
    transition: height 0.3s ease;
}

.prev-days-card.collapsed .date-scroll {
    display: none !important;
}

.prev-days-card.collapsed .card-body {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.prev-days-card.collapsed {
    height: 29px;
    overflow: hidden;
}

.box-table-row.no-appointment .appoint-management i {
    color: #bbb;
}

.box-table-row.no-appointment:hover .appoint-management i {
    cursor: not-allowed;
}

.box-table-row.has-appointment .appoint-management i {
    cursor: pointer;
}

@media (max-width: 768px) {
    .mmk-logo {
        width: 90% !important;
    }
}