:root {
    --bs-primary: #43a047;
    --bs-primary-rgb: 67, 160, 71;
    --theme-green: #43a047;
    --theme-green-dark: #388e3c;
    --theme-green-darker: #2e7d32;
    --theme-green-light: #e8f5e9;
    --theme-green-soft: #f1f8e9;
}

.display-none {display: none;}
.sidebar-brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--bs-primary);
    white-space: nowrap;
}
.auth-brand-name {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--bs-primary);
}
.form-password-toggle .input-group-merge .form-control.is-invalid {
    border-color: var(--bs-form-invalid-border-color);
    padding-right: 2.5rem;
}
.form-password-toggle .input-group-merge .input-group-text.is-invalid {
    border-color: var(--bs-form-invalid-border-color);
}
.form-password-toggle .invalid-feedback {
    display: block;
    margin-top: 0.25rem;
}

.detail-item {
    margin-bottom: 0;
}
.detail-item .detail-label {
    display: block;
    font-size: 0.8125rem;
    color: #8a8d93;
    margin-bottom: 0.25rem;
}
.detail-item .detail-value {
    display: block;
    font-weight: 500;
    color: #4b4b4b;
    word-break: break-word;
}

.info-table {
    margin-bottom: 0;
}
.info-table th,
.info-table td {
    padding: 0.875rem 1.25rem;
    vertical-align: middle;
    border-bottom: 1px solid #eceef1;
}
.info-table th {
    width: 16%;
    min-width: 130px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #8a8d93;
    background-color: #fafafa;
}
.info-table td {
    width: 34%;
    font-size: 0.9375rem;
    color: #4b4b4b;
}
.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: 0;
}
.business-list-card + .business-list-card {
    margin-top: 1.25rem;
}
.business-empty-state {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #8a8d93;
}
.business-empty-state i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.75rem;
    color: #c7c7cc;
}

/* Businesses panel */
.businesses-panel {
    margin-bottom: 0;
}
.businesses-panel__cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #eceef1;
    background: #fafafa;
}
.businesses-panel__detail {
    padding: 1rem 1.5rem 1.5rem;
}
.businesses-panel__detail .business-detail-panel {
    border: 0;
    box-shadow: none;
}
.business-select-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
    background: #fff;
    border: 2px solid #eceef1;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(34, 48, 62, 0.05);
    min-height: 200px;
}
.business-select-card:hover {
    border-color: #a5d6a7;
    box-shadow: 0 4px 16px rgba(67, 160, 71, 0.1);
}
.business-select-card.is-active {
    border-color: var(--theme-green);
    background: #fff;
    box-shadow: 0 4px 16px rgba(67, 160, 71, 0.12);
}
.business-select-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--theme-green), #66bb6a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0.875rem;
}
.business-select-card__name {
    font-size: 1rem;
    font-weight: 700;
    color: #2e3a4a;
    margin: 0 0 0.25rem;
    line-height: 1.3;
}
.business-select-card__owner {
    font-size: 0.8125rem;
    color: #6d788d;
    margin: 0 0 0.625rem;
}
.business-select-card .badge-access {
    margin-bottom: 0.875rem;
}
.business-select-card__meta {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding-top: 0.875rem;
    margin-top: auto;
    border-top: 1px solid #eceef1;
}
.business-select-card.is-active .business-select-card__meta {
    border-top-color: #eceef1;
}
.business-select-card__meta-item label {
    display: block;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--theme-green);
    margin-bottom: 0.125rem;
    font-weight: 600;
}
.business-select-card__meta-item span {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #4b4b4b;
}
.business-detail-panel__avatar--green,
.business-detail-panel__avatar--0,
.business-detail-panel__avatar--1,
.business-detail-panel__avatar--2 {
    background: linear-gradient(135deg, var(--theme-green), #66bb6a) !important;
}
@media (max-width: 575.98px) {
    .businesses-panel__cards {
        grid-template-columns: 1fr;
    }
}
.user-info-panel {
    margin-bottom: 0.25rem;
}
.user-info-panel__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eceef1;
    background: #fff;
}
.user-info-panel__page-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2e3a4a;
}
.user-info-panel .business-detail-panel__avatar--0 {
    background: linear-gradient(135deg, #558b2f, #7cb342);
}
.badge-access {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 0.375rem;
}
.badge-access--owner { background: #e8f5e9; color: #2e7d32; }
.badge-access--invited { background: #e0f2f1; color: #00695c; }
.badge-access--active { background: #e8f5e9; color: #2e7d32; }
.badge-access--inactive { background: #f5f5f5; color: #757575; }

.business-detail-panel {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(34, 48, 62, 0.08);
    border: 1px solid #eceef1;
}
.business-detail-panel__header {
    position: relative;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 45%, #e0f2f1 100%);
    overflow: hidden;
}
.business-detail-panel__header::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60' preserveAspectRatio='none'%3E%3Cpath fill='%234caf50' opacity='0.06' d='M0 60 L0 40 L30 25 L60 35 L90 20 L120 30 L150 15 L180 28 L210 18 L240 32 L270 22 L300 35 L330 25 L360 38 L400 28 L400 60 Z'/%3E%3C/svg%3E") repeat-x bottom;
    background-size: 400px 60px;
    pointer-events: none;
}
.business-detail-panel__profile {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.business-detail-panel__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(67, 160, 71, 0.3);
}
.business-detail-panel__avatar--0 { background: linear-gradient(135deg, #43a047, #66bb6a); }
.business-detail-panel__avatar--1 { background: linear-gradient(135deg, #00897b, #26a69a); }
.business-detail-panel__avatar--2 { background: linear-gradient(135deg, #7cb342, #9ccc65); }
.business-detail-panel__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #2e3a4a;
    margin: 0 0 0.125rem;
}
.business-detail-panel__subtitle {
    font-size: 0.875rem;
    color: #6d788d;
    margin: 0 0 0.625rem;
}
.business-detail-panel__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.business-detail-panel__body {
    padding: 0;
}
.business-detail-panel__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f2;
}
.business-detail-panel__row:last-child {
    border-bottom: 0;
}
.business-detail-panel__label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #43a047;
    font-weight: 500;
    min-width: 140px;
    flex-shrink: 0;
}
.business-detail-panel__label i {
    font-size: 1rem;
}
.business-detail-panel__value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #2e3a4a;
    text-align: right;
    word-break: break-word;
}
@media (max-width: 767.98px) {
    .business-mini-grid {
        grid-template-columns: 1fr;
    }
    .business-detail-panel__row {
        flex-direction: column;
        gap: 0.25rem;
    }
    .business-detail-panel__value {
        text-align: left;
    }
}
@media (max-width: 991.98px) {
    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
    }
    .info-table th {
        border-bottom: 0;
        padding-bottom: 0.25rem;
        background: transparent;
    }
    .info-table td {
        padding-top: 0;
        padding-bottom: 1rem;
    }
}
.preloader {position: fixed;width: 100%;height: 100%;z-index: 9999999;top: 0;left: 0;background-color: #fef8ffb0;display: none;}
.preloader .spinner-border {position: absolute;top: 45%;left: 50%;}
.main-loader {position: fixed;width: 100%;height: 100%;z-index: 99999999;top: 0;left: 0;background-color: #fff;display: flex;align-items: center;justify-content: center;}

.singleImageCanvasCloseBtn {
  position: absolute;
  top: 5px;
  right: 5px;
}

.image-wrapp {
    display: flex;
    .image-block {
        margin: 10px;
        position: relative;
        width: 200px;
        img {
            width: 100%;
            padding-right: 14px;
        }
        button {
            position: absolute;
            top: 5px;
            right: 5px;
            background-color: red;
            color: white;
            border: none;
            cursor: pointer;
        }
    }
}

.imageCropModal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    .modal-dialog {
        width: 90%;
        top: 10px;
        max-width: 900px;
        background: white;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        max-height: 90vh;
        pointer-events: visible !important;

        /* Modal Header */
        .modal-header {
            padding: 10px 16px;
            background: #f5f5f5;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-title {
            font-weight: bold;
            font-size: 18px;
        }

        .modal-close {
            font-size: 22px;
            cursor: pointer;
        }

        /* Modal Body for Cropper */
        .modal-body {
            padding: 10px;
            overflow: auto;
            flex-grow: 1;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        #cropImage {
            max-width: 100%;
            max-height: 40vh;
            display: block;
        }

        /* Modal Footer */
        .modal-footer {
            padding: 10px 16px;
            background: #f5f5f5;
            text-align: right;
        }

        #cropBtn {
            background: #007bff;
            color: white;
            padding: 8px 16px;
            font-weight: bold;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        #cropBtn:hover {
            background-color: #0056b3;
        }
    }
}

.txt-color {
    color: white !important;
}

.txt-color-head {
    color: white !important;
    font-size: 13px !important;
}

.end-div-section {
    display: flex;
    gap: 10px;
    align-items: center;
    .status-select {
        background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D'12'%20height%3D'12'%20xmlns%3D'http%3A//www.w3.org/2000/svg'%3E%3Cpath%20d%3D'M2%204l4%204%204-4'%20stroke%3D'%23333'%20stroke-width%3D'2'%20fill%3D'none'%20fill-rule%3D'evenodd'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 10px center;
        background-size: 10px;
    }
}

.status-select-data-table {
  appearance: none;
  padding: 10px 14px;
  font-size: 11px;
  border: none;
  border-radius: 6px;
  background-color: #f0f0f0;
  color: #333;
  cursor: pointer;
  box-shadow: 0 0 0 1px #ccc;
  min-width: 98px;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D'12'%20height%3D'12'%20xmlns%3D'http%3A//www.w3.org/2000/svg'%3E%3Cpath%20d%3D'M2%204l4%204%204-4'%20stroke%3D'%23333'%20stroke-width%3D'2'%20fill%3D'none'%20fill-rule%3D'evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
}

.main-color {
    color: #254c2a !important
}

.text-black {
    color: #282828 !important;
}

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


.tr-secondary {background-color: #ecedee !important;}
.strikethrough {text-decoration: line-through;}
.tr-danger {background-color: #e64449 !important;}
.tr-danger td {color: #ffffff !important;}

.bg-light-color {
    background-color: #dfecbf;
}

.bg-dark-color {
    background-color: #3b3b3b;
}

.bg-menu-theme .menu-item.active > .menu-link:not(.menu-toggle),
.bg-menu-theme .menu-sub > .menu-item.active > .menu-link {
    background: linear-gradient(270deg, #2e7d32 0%, #bce4be 100%) !important;
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(46, 125, 50, 0.35);
    border-radius: 0.375rem 1.5rem 1.5rem 0.375rem;
}

.bg-menu-theme .menu-sub > .menu-item.active > .menu-link i,
.bg-menu-theme .menu-item.active > .menu-link:not(.menu-toggle) i {
    color: #fff !important;
}

.bg-menu-theme .menu-item.active > .menu-toggle,
.bg-menu-theme .menu-item.open > .menu-toggle {
    color: var(--theme-green-darker) !important;
    background-color: var(--theme-green-light) !important;
    border-radius: 0.375rem 1.5rem 1.5rem 0.375rem;
}

.bg-menu-theme .menu-item.open > .menu-toggle i {
    color: var(--theme-green-darker) !important;
}

.bg-menu-theme .menu-link:hover,
.bg-menu-theme .menu-link:focus {
    color: var(--theme-green-darker) !important;
}

.text-primary {
    color: var(--theme-green) !important;
}

.bg-primary {
    background-color: var(--theme-green) !important;
}

.bg-label-primary {
    background-color: var(--theme-green-light) !important;
    color: var(--theme-green-darker) !important;
}

.bg-label-success {
    background-color: var(--theme-green-light) !important;
    color: var(--theme-green-darker) !important;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.show.dropdown-toggle,
.page-item.active .page-link,
.page-item.active .page-link:hover,
.page-item.active .page-link:focus,
.spinner-grow.text-primary,
.spinner-border.text-primary {
    color: #fff !important;
    background-color: var(--theme-green) !important;
    border-color: var(--theme-green) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.page-item.active .page-link:hover {
    background-color: var(--theme-green-dark) !important;
    border-color: var(--theme-green-dark) !important;
}

.btn-outline-primary {
    color: var(--theme-green) !important;
    border-color: var(--theme-green) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    color: #fff !important;
    background-color: var(--theme-green) !important;
    border-color: var(--theme-green) !important;
}

.btn-info,
.btn-info:hover,
.btn-info:focus,
.btn-info:active {
    color: #fff !important;
    background-color: var(--theme-green) !important;
    border-color: var(--theme-green) !important;
}

.form-control:focus,
.form-select:focus,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--theme-green) !important;
    box-shadow: 0 0 0 0.2rem rgba(67, 160, 71, 0.2) !important;
}

.page-link:hover,
.page-link:focus {
    color: var(--theme-green) !important;
    background-color: var(--theme-green-light) !important;
}

a {
    color: var(--theme-green);
}

a:hover {
    color: var(--theme-green-dark);
}
.desc-width-50{
    width: 50% !important;
}
.desc-width {
    width: 100% !important;
}

.table>tbody {
    vertical-align: top !important;
}

.product-table tr td .form-group input[type="text"] {
    width: 100px !important;
}
.wider-modal{
    width: 800px !important;
    max-width: 100%;
}

/* Make sure both offcanvas modals are visible side-by-side */
.offcanvas-end.show {
    transform: none !important;
    visibility: visible !important;
    width: 400px; /* customize width as needed */
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
}

/* For the second offcanvas (e.g., Add Category), push it further left */
#addCategoryModal.offcanvas-end.show {
    right: 0px; /* Same width as first offcanvas to avoid overlap */
}

/* Optional: prevent backdrop from hiding offcanvas interactions */
body.modal-open {
    overflow: hidden;
    padding-right: 0 !important;
}
.offcanvas-end {
    transition: right 0.3s ease-in-out;
}
.offcanvas-blur {
    filter: blur(2px);
    pointer-events: none;
    opacity: 0.6;
}
.categoryModal_data{
    box-shadow: none;
}

input:disabled {
    background-color: #f2f2f3 !important; /* light gray or any color you like */
    color: #aba8b1; /* optional: dim the text color */
    border-color: #cdcbd0;
    opacity: 1;
}

.text-danger{
    color:#000;
}



/*shipping Details start css*/
.address-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: auto;
    margin: 20px 30px;
    background-color: white;
}
.address-info {
    display: flex;
    align-items: center;
}
.address-icon {
    background-color: #f5f5f5;
    border-radius: 10px;
    padding: 10px;
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.address-icon i {
    color: #333;
}
.badge-default {
    background-color: #e6f0ff;
    color: #007bff;
    font-weight: 500;
}
.three-dots {
    cursor: pointer;
    font-size: 20px;
    color: #888;
    margin-left: 10px;
}

.dropdown-wrapper {
    position: relative;
}

.custom-dropdown {
    display: none;
    position: absolute;
    top: 0px;
    right: 0;
    transform: translateY(20%);
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-width: 140px;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


.custom-dropdown a {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
}

.custom-dropdown a:hover {
    background-color: #f0f0f0;
}

.dropdown-wrapper {
    position: relative;
}

/* Mobile only: navbar + toastr below header when keyboard is open */
@media (max-width: 1199.98px) {
    body.kb-open #layout-navbar.layout-navbar {
        position: fixed !important;
        z-index: 1090 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }

    #toast-container {
        top: calc(4rem + 8px) !important;
        z-index: 99999 !important;
    }
}

.dots_btn{
    box-shadow: none !important;
}
.dots_btn:hover{
    box-shadow: none !important;
}
.delete-icon{
    padding: 9px 30px;
    position: relative;
    top: 3px;
    text-align: center;
    align-items: center;
    margin: 0 0 0 5px;
}
.delete_icon{
    cursor: pointer;
}
/*shipping Details end css*/
