:root {
    --primary-color: #6b46ac;
    --primary-color-opacity: #6b46ac;
}

.modalTitle {
    height: 40px;
    border-radius: 60px !important;
    background-color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
    color: white !important;
    margin-bottom: 10px !important;
    padding-top: 7px;
    text-align: center;
}

.showListCar {
    overflow-y: auto;
    overflow-x: hidden;
}

#loadingDetails {
    display: flex;
    justify-content: center;
}

.pointer {
    cursor: pointer;
}

.cardBusiness,
.cardBusinessView {
    box-shadow: 0 1px 4px 0 rgb(0 0 0) !important
}

.cardlistBusiness,
.cardlistBusinessView {
    height: 300px !important;
}

.listBusiness,
.listBusinessView {
    overflow-y: auto;
    overflow-x: hidden;
    height: 150px !important;
    min-height: 150px;
}

.listBusiness li,
.listBusinessView li {
    list-style-type: none;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    padding: 6px 10px;
    margin-bottom: 5px;
    color: white;
    background: var(--primary-color-opacity);
    font-size: 15px;
}

.listBusiness label,
.listBusinessView label {
    color: white;
    font-weight: bold;
}

.form-check .form-check-input {
    cursor: pointer;
    position: relative !important;
    width: auto !important;
    height: auto !important;
    opacity: 1 !important;
    z-index: 1 !important;
    pointer-events: auto !important;
}

.deleteRoute i {
    color: white;
}

.deleteRoute:hover i {
    color: var(--primary-color-opacity);
}

.showGallery img {
    cursor: pointer;
}

.form-control-plaintext {
    border: 1px solid var(--primary-color) !important;
}

.fontStatusCoupon {
    font-size: 1.15rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    cursor: pointer !important;
    background: rgb(239, 239, 239) !important;
    border-color: grey !important;
}

.icon-lang {
    width: 25px;
}

.icon-lang.selectLang {
    width: 20px;
}

.liLang {
    padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
}

.fa-star {
    color: #efb810
}

.font-size-card {
    font-size: 13px;
}

.tdCenter {
    text-align: center;
    vertical-align: middle;
}

.tdCenter button {
    display: inline-block;
    margin: 5px;
    vertical-align: middle;
}

.swal2-container.swal2-center.swal2-backdrop-show {
    z-index: 999999;
}

.select2-container--default .select2-selection--single {
    border: 0px solid #aaa !important;
    border-bottom: 1px solid #aaa !important;
    border-radius: 0px !important;
}

.bg-orange {
    background-color: #e65100 !important;
}

.text-orange {
    color: #e65100 !important;
}

/* Sidebar collapsable - desktop */
.sidebar-toggle-btn {display: none;}

@media (min-width: 992px) {
    .sidebar {
        position: relative;
        transition: width 0.3s ease, transform 0.3s ease;
        z-index: 1000;
    }

    .sidebar-toggle-btn {
        display: block;
        position: fixed;
        top: 20px;
        left: 240px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: none;
        background-color: var(--primary-color);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        cursor: pointer;
        z-index: 1100;
        transition: left 0.3s ease;
    }

    .sidebar-toggle-btn i {
        font-size: 20px;
        line-height: 1;
    }

    .sidebar-collapsed .sidebar .nav-link{height: 50px;}

    .sidebar-collapsed .main-panel {width: calc(100% - 77px);}

    .sidebar-collapsed .sidebar-toggle-btn {
        left: 63px;
    }

    .sidebar-collapsed .sidebar {
        width: 80px;
        overflow: hidden;
    }

    .sidebar-collapsed .sidebar .logo img {
        width: 40px !important;
        height: auto !important;
        transition: width 0.3s ease;
    }

    .sidebar-collapsed .sidebar .nav p {
        display: none;
    }
}

.wrapper {height: 100% !important;}

.dataTables_scrollHead table.dataTable thead th.sorting,
.dataTables_scrollHead table.dataTable thead th.sorting_asc,
.dataTables_scrollHead table.dataTable thead th.sorting_desc {
    background-image: none !important;
    position: relative;
    padding-right: 20px;
}

.dataTables_scrollHead table.dataTable thead th.sorting::after {
    content: "⇅";
    position: absolute;
    right: 8px;
    font-size: 10px;
    opacity: 0.5;
}

.dataTables_scrollHead table.dataTable thead th.sorting_asc::after {
    content: "▲";
    opacity: 1;
}

.dataTables_scrollHead table.dataTable thead th.sorting_desc::after {
    content: "▼";
    opacity: 1;
}