#bx-admin-prefix,
.bx-core-popup-menu,
.bx-component-opener {
    z-index: 1034 !important;
}
.bx-core-dialog-overlay {
    z-index: 1003 !important;
}

#bx-panel.bx-panel-fixed,
div.bx-component-opener {
    z-index: 1002 !important;
}

.popupmenu table td {
    padding: 0;
}

.bxfd-window-cont table td img {
    max-width: none;
    vertical-align: baseline;
}

.bxmap-overlay {
    z-index: 1001;
}
.doctor-menu ul .active {
    color: #4c4c4c;
    font-weight: bold;
    text-decoration: none;
}
.sale-order-payment-change-pp .sale-order-payment-change-pp-company {
    display: inline-block;
    width: 120px;
}
.sale-order-list-title,
.sale-order-list-accomplished-title {
    margin: 10px 0 0;
    padding: 5px 15px;
}
.sale-order-list-inner-container {
    border-color: rgba(194, 243, 136, 0.5);
}
.sale-order-list-accomplished-date-container {
    padding: 0 15px;
}
.sale-order-detail-general {
    padding: 0 !important;
}

.barcode-img {
    width: 250px;
    height: max-content;
}

.barcode-img > img {
    width: 100%;
    height: auto;
}

.remove-indents {
    margin-bottom: 8px !important;
}

.del-padding-left {
    padding-left: 0 !important;
}

.del-padding-right {
    padding-right: 0 !important;
}

.custom-checkbox-tax {
    appearance: auto !important;
}

.toast-container {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    min-width: 280px;
    max-width: 360px;
    padding: 12px 40px 12px 16px;
    border-radius: 8px;
    background: #1f2937;
    color: white;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast--visible {
    opacity: 1;
    transform: translateX(0);
}

.toast--success {
    background: #007a65;
}

.toast--error {
    background: #dc2626;
}

.toast__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: inherit;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    border-radius: 4px;
}

.toast__close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
    .toast-container {
        top: 12px;
        right: 12px;
        left: 12px;
        gap: 10px;
    }

    .toast {
        min-width: unset;
        max-width: unset;
        width: 100%;
        font-size: 16px;
        line-height: 1.5;
        padding: 16px 48px 16px 16px;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    }

    .toast__close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 24px;
    }
}

@media (max-width: 380px) {
    .toast {
        font-size: 15px;
        padding: 14px 44px 14px 14px;
    }
}