.avatar-upload {
    position: relative;
    max-width: 205px;
    margin: 0px auto;
    display: flex;
    justify-content: center;
}
.avatar-upload .avatar-edit {
    position: absolute;
    z-index: 1;
}
.avatar-upload .avatar-edit input {
    visibility: hidden;
}
.avatar-upload .avatar-edit input + label {
    display: inline-block;
    width: 34px;
    height: 34px;
    margin-bottom: 0;
    border-radius: 100%;
    background: #ffffff;
    border: 1px solid transparent;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    font-weight: normal;
    transition: all 0.2s ease-in-out;
    position: relative;
    right: auto;
    top: auto;
    bottom: 0;
    left: 14.6rem;
}
.avatar-upload .avatar-edit input + label:hover {
    background: #f1f1f1;
    border-color: #d6d6d6;
}
.avatar-upload .avatar-edit input + label .feather-edit-2 {
    color: #757575;
    margin-top: 7px;
    margin-left: 8px;
}
.avatar-upload .avatar-edit input + label:after {
    color: #757575;
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    text-align: center;
    margin: auto;
}
.avatar-upload .avatar-preview {
    width: 150px;
    height: 150px;
    position: relative;
    border-radius: 100%;
    border: 6px solid #f8f8f8;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
}
.avatar-upload .avatar-preview > div {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.navbar-header.expanded .nav .nav-item .navbar-brand .brand-logo img {
    height: 52px !important;
	width: auto !important;
    transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), background 0s;
}
.navbar-header .nav .nav-item .navbar-brand .brand-logo img {
    width: 41px !important;
    height: 50px !important;
    margin-top: 5px !important;
    transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), background 0s;
}
.auth-wrapper .auth-footer-btn .btn:not(:last-child) {
    margin-right: 1rem;
}
.bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-label {
    text-align: right;
    margin-right: 1rem;
    margin-left: 5px;
}

.ds-none {
    display: none;
}

.upload__inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
.upload__btn {
    display: inline-block;
    font-weight: 600;
    color: #fff;
    text-align: center;
    min-width: 100px;
    padding: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    border-radius: 10px;
    line-height: 26px;
    font-size: 14px;
}
.upload__btn:hover {
    background-color: unset;
    color: var(--bs-primary);
    transition: all 0.3s ease;
}
.upload__btn-box {
    margin-bottom: 10px;
}

.upload__img-wrap {
    display: flex;
    flex-wrap: wrap;
    margin: 9px 0px 0px 0px;
}

.upload__img-box {
    width: 120px;
    padding: 0 9px;
    margin-bottom: 12px;
}

.upload__img-close {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 10px;
    right: 10px;
    text-align: center;
    line-height: 24px;
    z-index: 1;
    cursor: pointer;
}

.upload__img-close:after {
    content: "✖";
    font-size: 14px;
    color: white;
}

.img-bg {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: relative;
    padding-bottom: 100%;
    height: 145px;
}
.flatpickr-wrapper {
    display: block !important;
}

/* .swal2-styled.swal2-cancel{
	background-color: transparent !important;
    color: var(--bs-danger) !important;
}

.swal2-styled.swal2-cancel:focus{
	box-shadow: 0 0 0 3px rgba(234, 84, 85, 0.2) !important;
}
.swal2-styled.swal2-confirm{
	color: var(--bs-success) !important;
	background-color: rgba(40, 199, 111, 0.2) !important;
	background-color: transparent !important;
}
.swal2-styled.swal2-confirm:focus{
	box-shadow: 0 0 0 3px rgba(40, 199, 111, 0.2) !important;
}
.swal2-actions:not(.swal2-loading) .btn-outline-success.swal2-styled:hover, .swal2-actions:not(.swal2-loading) .btn-outline-success.swal2-styled:active{
	background-image: linear-gradient(rgb(40 199 111 / 16%), rgb(40 199 111 / 8%));
}
.swal2-actions:not(.swal2-loading) .btn-outline-danger.swal2-styled:hover, .swal2-actions:not(.swal2-loading) .btn-outline-danger.swal2-styled:active{
	background-image: linear-gradient(rgb(234 84 85 / 16%), rgb(234 84 85 / 8%));
} */

.pac-container {
    z-index: 9999;
}
img[alt="Info icon"] {
    display: none;
}

#html5-qrcode-button-camera-start {
    background-color: transparent;
    color: var(--bs-primary);
    border: 1px solid var(--bs-primary) !important;
    padding: 0.36rem 0.73rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 0.358rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
        background 0s, border 0s; /* Add smooth hover effect */
}

#html5-qrcode-button-camera-start:hover {
    background-color: rgba(115, 103, 240, 0.04);
    color: var(--bs-primary);
}

#html5-qrcode-button-camera-stop {
    background-color: transparent;
    color: var(--bs-danger);
    border: 1px solid var(--bs-danger) !important;
    padding: 0.36rem 0.73rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 0.358rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
        background 0s, border 0s; /* Add smooth hover effect */
}

#html5-qrcode-button-camera-permission:hover {
    background-color: rgba(234, 84, 85, 0.04);
    color: var(--bs-warning);
}


#html5-qrcode-button-camera-permission {
    background-color: transparent;
    color: var(--bs-warning);
    border: 1px solid var(--bs-warning) !important;
    padding: 0.36rem 0.73rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 0.358rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
        background 0s, border 0s; /* Add smooth hover effect */
}

#html5-qrcode-button-camera-stop:hover {
    background-color: rgba(234, 84, 85, 0.04);
    color: var(--bs-danger);
}
#html5-qrcode-anchor-scan-type-change {
    display: none;
}

table.dataTable.dtr-column > tbody > tr > td.dtr-control:before,
table.dataTable.dtr-column > tbody > tr > th.dtr-control:before,
table.dataTable.dtr-column > tbody > tr > td.control:before,
table.dataTable.dtr-column > tbody > tr > th.control:before {
    margin-left: auto !important;
    left: 0 !important;
}

#QrCardBody {
    width: 25rem;
    right: 65px;
    bottom: 20px;
    left: auto;
}

#QrCardBody {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Visible state */
#QrCardBody.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#toggleCardButton{
    width: 60px;
    height: 60px;
    right: 30px;
    bottom: 20px;
    left: auto;
}

.daterangepicker .ranges li.active{
    background-color: var(--bs-primary) !important;
}

.daterangepicker td.active, .daterangepicker td.active:hover{
    background-color: var(--bs-primary) !important;
}

.congratulation-medal {
    position: absolute;
    top: 31px;
    right: 13px;
    width: 30%;
    height: auto;
}

#html5-qrcode-select-camera{
    width: 100%;
    padding: 0.571rem 1rem 0.571rem 1rem;
    margin: 8px 0px;
    -moz-padding-start: calc(1rem - 3px);
    border: 1px solid #d8d6de;
    border-radius: 0.357rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
body.swal2-toast-shown .swal2-container.swal2-top, body.swal2-toast-shown .swal2-container.swal2-top-left, body.swal2-toast-shown .swal2-container.swal2-top-right, body.swal2-toast-shown .swal2-container.swal2-top-end{
    height: auto;
    width: 450px;
}
body.swal2-toast-shown .swal2-container.swal2-bottom, body.swal2-toast-shown .swal2-container.swal2-bottom-left, body.swal2-toast-shown .swal2-container.swal2-bottom-right, body.swal2-toast-shown .swal2-container.swal2-bottom-end{
    height: auto;
    width: 450px;
}
.verify_button {
    position: absolute;
    right: 0;
    top: 0;
}

/* Rjeha Point Create Return Order Page CSS */
.box-card-premium {
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        border: none;
        box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.1);
        border-radius: 1rem;
    }
    .box-card-premium:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px 0 rgba(34, 41, 47, 0.15);
    }
    .bag-scroll-area {
        max-height: 280px;
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 8px;
        margin-bottom: 15px;
    }
    .bag-scroll-area::-webkit-scrollbar {
        width: 6px;
    }
    .bag-scroll-area::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.03);
        border-radius: 10px;
    }
    .bag-scroll-area::-webkit-scrollbar-thumb {
        background: #d8d6de;
        border-radius: 10px;
    }
    .bag-scroll-area::-webkit-scrollbar-thumb:hover {
        background: #7367f0;
    }
    .bag-item-compact {
        border: 1px solid #f0f0f0;
        border-radius: 12px;
        padding: 10px;
        transition: all 0.2s ease;
        background: #fdfdfd;
        display: flex;
        align-items: center;
        height: 100%;
    }
    .bag-item-compact:hover {
        border-color: #7367f0;
        background: #f8f7ff;
        box-shadow: 0 2px 8px rgba(115, 103, 240, 0.1);
    }
    .bag-count-badge {
        position: absolute;
        top: 20px;
        right: 20px;
        padding: 0.5rem 0.8rem;
        border-radius: 2rem;
        font-weight: 600;
        box-shadow: 0 2px 10px rgba(115, 103, 240, 0.2);
    }
    .box-icon-container {
        width: 70px;
        height: 70px;
        background: rgba(115, 103, 240, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px;
    }
    .qr-preview-small {
        width: 38px;
        height: 38px;
        border-radius: 6px;
        border: 1px solid #eee;
    }
    
    /* Drag and Drop Banner Row Styles */
    .banner-drag-row {
        cursor: grab;
        transition: background-color 0.15s ease, border 0.15s ease;
    }
    .banner-drag-row:active {
        cursor: grabbing;
    }
    .banner-drag-row.dragging {
        opacity: 0.4;
        background-color: rgba(115, 103, 240, 0.05) !important;
    }
    .drop-target-top {
        border-top: 3px solid #7367f0 !important;
        background-color: rgba(115, 103, 240, 0.08) !important;
    }
    .drop-target-bottom {
        border-bottom: 3px solid #7367f0 !important;
        background-color: rgba(115, 103, 240, 0.08) !important;
    }
/* Roles Premium UI Styles */
.module-card {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    background: #ffffff;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.module-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.module-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 12px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.module-header h5 {
    color: #5e5873;
    font-weight: 700;
    margin: 0;
    font-size: 1.1rem;
}
.permission-item {
    padding: 10px 15px;
    border-radius: 8px;
    transition: background 0.2s ease;
}
.permission-item:hover {
    background: rgba(115, 103, 240, 0.08);
}
.select-all-wrapper {
    background: #f3f2f7;
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.permission-item .form-switch .form-check-input,
.select-all-wrapper .form-switch .form-check-input {
    cursor: pointer;
    width: 2.5em;
    height: 1.25em;
}
.permission-item .form-check-label,
.select-all-wrapper .form-check-label {
    cursor: pointer;
    font-weight: 500;
    color: #4b4b4b;
    margin-top: 3px;
    margin-left: 5px;
}

/* Store Management & Integrations Styles */
.store-hero-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #ebe9f1;
    box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.06);
    position: relative;
    overflow: hidden;
}
.store-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(115, 103, 240, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}
.store-stat-pill {
    background: #f8f8fa;
    border: 1px solid #ebe9f1;
    border-radius: 10px;
    padding: 8px 14px;
    transition: all 0.25s ease;
}
.store-stat-pill:hover {
    background: #f1f0f8;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(115, 103, 240, 0.08);
}
.store-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #ebe9f1;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(34, 41, 47, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.store-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(34, 41, 47, 0.1);
}
.store-card-header {
    padding: 22px 20px 14px 20px;
    position: relative;
    border-bottom: 1px dashed #ebe9f1;
}
.store-logo-wrapper {
    background: #ffffff;
    height: 95px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    box-shadow: 0 2px 10px rgba(34, 41, 47, 0.04);
    border: 1px solid #f0f0f4;
    transition: transform 0.3s ease;
}
.store-card:hover .store-logo-wrapper {
    transform: scale(1.03);
}
.store-logo-img {
    max-height: 54px;
    max-width: 100%;
    object-fit: contain;
}
.store-badge-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-size: 0.76rem;
    font-weight: 600;
    border-radius: 20px;
    letter-spacing: 0.2px;
}
.store-badge-status .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: relative;
    display: inline-block;
}
.store-badge-status .pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    animation: pulse-ring 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
@keyframes pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 199, 111, 0.7); }
    70% { transform: scale(1.5); box-shadow: 0 0 0 7px rgba(40, 199, 111, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 199, 111, 0); }
}
.store-metrics-box {
    background: #f8f8fa;
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #ebe9f1;
}
.store-metric-item {
    text-align: center;
    padding: 2px 6px;
}
.store-metric-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #5e5873;
    line-height: 1.2;
}
.store-metric-label {
    font-size: 0.72rem;
    color: #b9b9c3;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.btn-store-action {
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.86rem;
    padding: 9px 16px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-store-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(115, 103, 240, 0.3);
}
.store-accent-shopify {
    border-top: 4px solid #008060;
}
.store-accent-zid {
    border-top: 4px solid #702afb;
}
.store-accent-salla {
    border-top: 4px solid #004D5A;
}
.store-accent-woocommerce {
    border-top: 4px solid #7F54B3;
}
.store-accent-default {
    border-top: 4px solid #7367f0;
}
.empty-store-card {
    border-radius: 14px;
    border: 2px dashed #d8d6de;
    background: #fafafc;
    padding: 40px 20px;
}

/* Connected Stores Detail Styles */
.connected-store-header-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #ebe9f1;
    box-shadow: 0 4px 20px 0 rgba(34, 41, 47, 0.05);
    padding: 16px 20px;
    margin-bottom: 20px;
}
.connected-store-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #ebe9f1;
    box-shadow: 0 4px 18px 0 rgba(34, 41, 47, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.connected-store-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px 0 rgba(34, 41, 47, 0.1);
    border-color: #d8d6de;
}
.connected-merchant-box {
    background: #f8f8fa;
    border-radius: 10px;
    padding: 12px 14px;
    border: 1px solid #f0f0f4;
}
.connected-merchant-box .user-image {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.connected-meta-item {
    font-size: 0.8rem;
    color: #6e6b7b;
}
.connected-store-logo {
    max-height: 26px;
    max-width: 85px;
    width: auto;
    height: auto;
    object-fit: contain;
}

