.topnav-date-time {
    margin-right: 16px;
}

.navbar-top-custom {
    width: 100%;
}

.delete-static-row {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
}

.settings {
    display: flex;
    gap: 20px;
}

.settings__sidebar {
    border: 2px solid var(--bs-gray-100);
    width: 269px;
    padding: 24px;
    border-radius: 7px;

    ul {
        .custom-nav-small-cap {
            margin-top: 0;
            color: var(--bs-link-color);
            font-size: 12px;
            font-weight: 700;
            padding: 3px 0;
            line-height: 26px;
            text-transform: uppercase;
        }

        .sidebar-item {
            .sidebar-link {
                display: flex;
                font-size: 13px;
                white-space: nowrap;
                align-items: center;
                line-height: 25px;
                position: relative;
                margin: 0 0 2px;
                padding: 8px 10px;
                border-radius: 7px;
                gap: 15px;
                text-decoration: none;
                font-weight: 400;
                transition: background-color 0.3s, color 0.3s;
                cursor: pointer;
                user-select: none;

                &:hover {
                    background-color: var(--bs-primary-bg-subtle);
                    color: var(--bs-primary);
                }

                .ti {
                    font-size: 21px;
                }

                span {
                    display: flex;
                    align-items: center;
                }
            }

            &.is-active .sidebar-link {
                background-color: var(--bs-primary);
                color: var(--bs-white);

                .ti {
                    color: var(--bs-white);
                }
            }
        }
    }
}

[data-bs-theme="dark"] .settings__sidebar {
    border: 2px solid #465670;
}

.settings__content {
    width: calc(100% - 269px);
    border: 2px solid var(--bs-gray-100);
    padding: 24px;
    border-radius: 7px;

    .tab-content {
        display: none;

        &.tab-content--active {
            display: block;
            overflow-x: auto;
            scrollbar-width: 0;

            &::-webkit-scrollbar {
                display: none;
            }
        }
    }
}

.settingSidebar {
    display: none;
    background-color: transparent;
    color: var(--bs-black);
    margin-bottom: 10px;
    border: none;

    i {
        font-size: 20px;
    }
}

[data-bs-theme="dark"] .settings__content {
    border: 2px solid #465670;
}

.preloader-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: preloader-pulse 1.1s ease-in-out infinite;
}

.preloader-fallback {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 4px solid rgba(var(--bs-primary-rgb), 0.15);
    border-top-color: var(--bs-primary);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: preloader-spin 0.9s linear infinite;
}

@keyframes preloader-spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes preloader-pulse {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.85;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.08);
        opacity: 1;
    }
}

.billing-footer {
    padding: 8px 0 6px;
}

.billing-footer-line {
    border-top: 1px solid var(--bs-border-color);
    margin-bottom: 8px;
}

.billing-footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.billing-footer-version {
    margin-left: auto;
}

.upload_orgnaization_logo {
    border: 2px dashed var(--bs-gray-200);
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    border-radius: 7px;
    cursor: pointer;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
    font-size: 14px;

    &:hover {
        border-color: var(--bs-primary);
        background-color: var(--bs-primary-bg-subtle);
        color: var(--bs-primary);
    }

    span {
        width: 80%;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        font-size: 12px;
        text-align: center;
    }
}

[data-bs-theme="dark"] .upload_orgnaization_logo {
    border: 2px dashed #465670;

    span {
        color: var(--bs-white);
    }
}

.logo-upload-descripton {
    width: calc(100% - 200px);
    /* padding-left: 20px; */
}

[data-bs-theme="dark"] .logo-upload-descripton {
    p {
        color: var(--bs-white);
    }
}

.step-itegrates {
    list-style: disc !important;
    padding-left: 30px;

    li {
        list-style: disc !important;

        margin-bottom: 5px;
    }
}

.report-growth-filters .form-label {
    font-size: 12px;
    color: #6c7a95;
}

.report-range-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.report-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    background: #f3f6fb;
    color: #51607c;
}

.report-card-sub {
    font-size: 12px;
    color: #6c7a95;
}

.report-growth-table td,
.report-growth-table th {
    vertical-align: middle;
}

.report-growth-table thead th {
    background: #f7f9fc;
    font-weight: 600;
}

.report-growth-table .growth-group-head th {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6c7a95;
}

.report-growth-table .growth-sub-head th {
    font-size: 12px;
    font-weight: 600;
    color: #52627d;
    background: #f9fbff;
}

.report-growth-table .growth-col-total {
    background: transparent;
}

.report-growth-table .growth-col-active {
    background: transparent;
}

.report-growth-table .growth-col-expired {
    background: transparent;
}

.growth-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.growth-pill i {
    font-size: 12px;
}

.growth-pill.pill-success {
    background: #e7fbf3;
    color: #1f8a5b;
}

.growth-pill.pill-warning {
    background: #fff1e6;
    color: #d46f1a;
}

.growth-pill.ghost {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.growth-pill.pill-neutral {
    color: #44506b;
    background: #eef2f7;
}

.metric-stack {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 140px;
}

.metric-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-size: 12px;
}

.metric-label {
    color: #6c7a95;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.metric-value {
    font-weight: 600;
    color: #1f2a44;
}

.metric-pill {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 600;
}

.metric-muted {
    font-size: 11px;
    color: #6c7a95;
}

/* august 20 2025  */

.email_tabs_wrapper {
    display: flex;
    align-items: center;
    justify-content: start;
    border-bottom: 1px solid var(--bs-gray-100);

    .email_tab_btn {
        border: 2px solid var(--bs-gray-200);
        background-color: transparent;
        color: var(--bs-black);
        padding: 10px 20px;
        border-radius: 7px 7px 0 0;
        transition: all 0.3s ease-in-out;
        border-bottom: 0;
        font-weight: 500;
    }
}

.table-sortable thead th.sortable {
    cursor: pointer;
    user-select: none;
}

.table-sortable thead th .sort-icon {
    font-size: 14px;
    opacity: 0.45;
    margin-left: 0.35rem;
}

.table-sortable thead th.is-sorted .sort-icon {
    opacity: 0.9;
}

.invoice-meta {
    font-size: 12px;
    color: var(--bs-secondary-color);
}

.contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid var(--bs-border-color);
    text-decoration: none;
    color: var(--bs-secondary-color);
    background: var(--bs-gray-100);
}

.contact-cta:hover {
    color: var(--bs-primary);
    border-color: rgba(var(--bs-primary-rgb), 0.3);
}

.contact-cta .contact-icon {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
}

.add-contact-btn {
    font-size: 12px;
    padding: 4px 10px;
}

@media (max-width: 576px) {
    .contact-cta--with-text .contact-icon {
        display: none;
    }
}

.email_tab-content {
    display: none;
    padding: 30px 20px;
}

.email_tab-content.active {
    display: block;
}

.email_tab_btn.active {
    background-color: var(--bs-primary);
    color: var(--bs-white);
}

[data-bs-theme="dark"] .ti-users {
    color: var(--bs-link-color);
}

.recent-transactions-cards:last-child {
    border-bottom: none !important;
}

.data-dashboard-card {
    padding-left: 12px;
    padding-right: 12px;

    .col-6 .col-sm-6,
    .col-md-4,
    .col-lg-6,
    .col-xxl-4 {
        border: 1px solid var(--bs-gray-200);

        &:nth-child(1) {
            border-bottom: none;
            border-top-left-radius: 7px;
            border-right: none;
        }

        &:nth-child(2) {
            border-bottom: none;
            border-right: none;
        }

        &:nth-child(3) {
            border-bottom: none;
            border-top-right-radius: 7px;
        }

        &:nth-child(4) {
            border-bottom-left-radius: 7px;
            border-right: none;
        }

        &:nth-child(5) {
            border-right: none;
        }

        &:nth-child(6) {
            border-bottom-right-radius: 7px;
        }

        .round {
            width: 40px;
            height: 40px;
        }
    }
}

.dashboard-card-together {
    display: grid;
    grid-template-columns: repeat(12, 1fr);

    .index-card {
        padding: 20px;
        grid-column: span 4;

        .icon-with-text {
            display: flex;
            align-items: center;
            justify-content: start;
            gap: 10px;
            margin-bottom: 15px;

            .icon {
                width: 30px;
                height: 30px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                font-size: 14px;
            }

            h3 {
                font-size: 14px;
                margin-bottom: 0 !important;
                font-weight: 500;
            }
        }

        .card-text {
            h2 {
                font-size: 24px;

                .small {
                    font-size: 12px;
                    margin-left: 5px;
                }
            }
        }
    }
}

.image-card {
    background-image: url("../images/backgrounds/corner-1.png");
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

.image-2background {
    background-image: url("../images/backgrounds/corner-2.png") !important;
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
}

.image-3background {
    background-image: url("../images/backgrounds/corner-3.png") !important;
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
}

.dashboard-welcome {
    background-image: url("../images/backgrounds/ticket-bg.png");
    background-repeat: no-repeat;
    background-position: right bottom;
    background-color: var(--bs-gray-100);
    position: relative;

    .date {
        position: absolute;
        top: 35px;
        right: 20px;

        h4 {
            font-size: 14px;
            margin-bottom: 5px !important;
            color: var(--bs-gray-500);
        }

        h5 {
            font-size: 12px;
            margin-bottom: 0 !important;
            color: var(--bs-gray-400);
        }
    }
}

.top-cards {
    .index-card {
        grid-column: span 6;
        background-color: var(--bs-primary);

        h3 {
            font-size: 13px !important;
            color: var(--bs-white);
        }

        h4 {
            color: var(--bs-white);
        }
    }
}

.customer-profile-card {
    border: 2px dashed var(--bs-gray-300);
    overflow: hidden;
    border-radius: 7px;

    .icon-with-text {
        display: flex;
        align-items: center;
        justify-content: center !important;

        h3 {
            font-size: 14px !important;
        }
    }

    .card-text {
        h2 {
            font-size: 14px !important;
            color: var(--bs-body-color);
        }
    }
}

/* ====== media quries ====== */

.carsoul-prev-button-custom,
.carsoul-next-button-custom {
    background-color: var(--bs-primary);
    color: var(--bs-white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;

    &:hover {
        background-color: var(--bs-primary-bg-subtle);
        color: var(--bs-primary);
    }
}

.chart-container {
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
}

#bankingChart {
    width: 100% !important;
}

/* 14 november 2025 */

.custom-tabs-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--bs-gray-200);
}

.custom-tab-btn {
    padding: 8px 10px;
    border: none;
    border-bottom: 1px solid transparent;
    cursor: pointer;
    transition: 0.3s;
    background-color: transparent;
    font-size: 14px;
    font-weight: 600;
}

.custom-tab-btn.active {
    border-bottom: 1px solid var(--bs-primary);
    color: var(--bs-primary);
    font-weight: 600;
}

.custom-tab-content {
    display: none;
    padding: 10px;
    border-radius: 5px;
}

.custom-tab-content.active {
    display: block;
}

.um-uploader {
    width: fit-content;
    margin-bottom: 20px;
}

.um-upload-area {
    border: 2px dashed var(--bs-gray-200);
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    border-radius: 7px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    font-size: 12px;
}

.um-upload-area:hover {
    border-color: var(--bs-primary);
    background-color: var(--bs-primary-bg-subtle);
    color: var(--bs-primary);
}

.um-preview-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.remove-logo-btn {
    position: absolute;
    top: -12px;
    right: -12px;
    background-color: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    color: var(--bs-white);
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* 
.pulse-animation-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pulse {
    width: 35px;
    height: 35px;
    background-color: var(--bs-warning);
    border-radius: 50%;
    position: relative;
    animation: animate 3s linear infinite
}

.pulse i {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--bs-black);
    height: 100%;
    cursor: pointer
}

@keyframes animate {
    0% {
        box-shadow: 0 0 0 0 var(--bs-warning), 0 0 0 0 var(--bs-warning) 
    }

    40% {
        box-shadow: 0 0 0 50px rgb(255, 109, 74, 0), 0 0 0 0 var(--bs-warning)
    }

    80% {
        box-shadow: 0 0 0 50px rgb(255, 109, 74, 0), 0 0 0 30px rgb(255, 109, 74, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgb(255, 109, 74, 0), 0 0 0 30px rgb(255, 109, 74, 0)
    }
} */

.table-condensed {
    thead {
        tr {
            th {
                text-align: center !important;
            }
        }
    }
}

.datepicker table tr td.disabled {
    color: var(--bs-gray-400) !important;
    opacity: 0.6 !important;
    pointer-events: none !important;
}

.custom-dropdown {
    position: relative;
    width: 100%;
}

.dropdown-btn {
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    text-align: left;
    display: block;
    width: 100%;
    padding: 8px 38px 8px 16px;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #1d1f20;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent;
    background-image: var(--bs-form-select-bg-img),
        var(--bs-form-select-bg-icon, none);
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px 12px;
    border: var(--bs-border-width) solid #dfe5ef;
    border-radius: 7px;
}

.dropdown-content {
    position: absolute;
    background-color: var(--bs-white);
    top: 100%;
    left: 0;
    width: 100%;
    border: var(--bs-border-width) solid #dfe5ef;
    border-top: 0;
    display: none;
    z-index: 1000;
    scrollbar-width: thin;
    scrollbar-color: #a0a5b1 #f1f3f5;
    border-radius: 7px;
}

.dropdown-content ul::-webkit-scrollbar {
    width: 2px;
}

.dropdown-content ul::-webkit-scrollbar-track {
    background: #f1f3f5;
    border-radius: 6px;
}

.dropdown-content ul::-webkit-scrollbar-thumb {
    background-color: #a0a5b1;
    border-radius: 6px;
    border: 2px solid #f1f3f5;
}

.dropdown-content ul::-webkit-scrollbar-thumb:hover {
    background-color: #6c7280;
}

.dropdown-content input.dropdown-search {
    width: 100%;
    padding: 6px 16px;
    border: none;
    border-bottom: 1px solid #dfe5ef;
    outline: none;
}

.dropdown-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 150px;
    overflow-y: auto;
}

.dropdown-content ul li {
    padding: 8px 10px;
    cursor: pointer;
}

.dropdown-content ul li:hover {
    background-color: var(--bs-primary-bg-subtle);
    color: var(--bs-primary);
}

.custom-data-cards {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    margin-bottom: 15px;
    border-radius: var(--bs-border-radius) var(--bs-border-radius) 0 0 !important;
    overflow: hidden;

    .custom-card {
        grid-column: span 3;
        position: relative;

        .card {
            background-color: var(--bs-gray-100);
            border-radius: 0px !important;
            margin-bottom: 0px !important;

            h3 {
                font-size: 24px;
                font-weight: 600;
            }
        }

        &::after {
            content: "";
            position: absolute;
            top: 20%;
            right: 0;
            width: 1px;
            height: 60%;
            background-color: var(--bs-gray-300);
        }

        &:last-child {
            &::after {
                display: none;
            }
        }
    }
}

.changelog-hero {
    background: linear-gradient(120deg, rgba(var(--bs-primary-rgb), 0.08), #ffffff 55%);
    border: 1px solid var(--bs-gray-200);
}

.changelog-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.changelog-meta .badge {
    font-weight: 600;
}

.changelog-card {
    border: 1px solid var(--bs-gray-200);
}

.status-badge {
    font-weight: 500;
    letter-spacing: 0.2px;
    border: 1px solid transparent;
    text-transform: capitalize;
    background-color: var(--bs-gray-200);
    color: var(--bs-gray-700);
}

.popover {
    max-width: 320px;
    background-color: #fff;
    border: 1px solid var(--bs-gray-200);
    border-radius: 12px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
    z-index: 1090;
}

.popover-header {
    background-color: #fff;
    border-bottom: 1px solid var(--bs-gray-200);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.65rem 0.9rem;
}

.popover-body {
    color: var(--bs-gray-700);
    font-size: 0.8rem;
    padding: 0.75rem 0.9rem;
}

.popover-arrow::before,
.popover-arrow::after {
    border-color: transparent;
}

.popover[data-popper-placement^="top"] > .popover-arrow::before {
    border-top-color: var(--bs-gray-200);
}

.popover[data-popper-placement^="top"] > .popover-arrow::after {
    border-top-color: #fff;
}

.popover[data-popper-placement^="bottom"] > .popover-arrow::before {
    border-bottom-color: var(--bs-gray-200);
}

.popover[data-popper-placement^="bottom"] > .popover-arrow::after {
    border-bottom-color: #fff;
}

.popover[data-popper-placement^="left"] > .popover-arrow::before {
    border-left-color: var(--bs-gray-200);
}

.popover[data-popper-placement^="left"] > .popover-arrow::after {
    border-left-color: #fff;
}

.popover[data-popper-placement^="right"] > .popover-arrow::before {
    border-right-color: var(--bs-gray-200);
}

.popover[data-popper-placement^="right"] > .popover-arrow::after {
    border-right-color: #fff;
}

.status-guide-popover {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.status-badge[data-status="active"] {
    background-color: var(--bs-success-bg-subtle);
    color: var(--bs-success);
}

.status-badge[data-status="paid"] {
    background-color: var(--bs-success-bg-subtle);
    color: var(--bs-success);
}

.status-badge[data-status="pending"] {
    background-color: var(--bs-warning-bg-subtle, #fff4e5);
    color: var(--bs-warning, #b45309);
}

.status-badge[data-status="unpaid"] {
    background-color: var(--bs-warning-bg-subtle, #fff4e5);
    color: var(--bs-warning, #b45309);
}

.status-badge[data-status="draft"] {
    background-color: var(--bs-secondary-bg-subtle, #eef2f6);
    color: var(--bs-secondary, #6c757d);
}

.status-badge[data-status="void"] {
    background-color: var(--bs-danger-bg-subtle);
    color: var(--bs-danger);
}

.status-badge[data-status="sent"] {
    background-color: var(--bs-info-bg-subtle, #e7f6ff);
    color: var(--bs-info, #0ea5e9);
}

.status-badge[data-status="success"] {
    background-color: var(--bs-success-bg-subtle);
    color: var(--bs-success);
}

.status-badge[data-status="partial"] {
    background-color: var(--bs-warning-bg-subtle, #fff4e5);
    color: var(--bs-warning, #b45309);
}

.status-badge[data-status="failed"],
.status-badge[data-status="revoked"] {
    background-color: var(--bs-danger-bg-subtle);
    color: var(--bs-danger);
}

.status-badge[data-status="suspended"] {
    background-color: var(--bs-danger-bg-subtle);
    color: var(--bs-danger);
}

.status-badge[data-status="inactive"],
.status-badge[data-status="in-active"],
.status-badge[data-status="in_active"] {
    background-color: var(--bs-warning-bg-subtle, #fff4e5);
    color: var(--bs-warning, #b45309);
}

.status-badge[data-status="expired"] {
    background-color: var(--bs-warning-bg-subtle, #fff4e5);
    color: var(--bs-warning, #b45309);
}

.status-badge[data-status="blocked"] {
    background-color: var(--bs-danger-bg-subtle);
    color: var(--bs-danger);
}

.status-badge[data-status="unknown"] {
    background-color: var(--bs-secondary-bg-subtle, #eef2f6);
    color: var(--bs-secondary, #6c757d);
}

.row-status {
    --status-rgb: var(--bs-secondary-rgb);
    background-clip: padding-box;
    transition: background-color 0.2s ease, background-image 0.2s ease;
}

.row-status > td:first-child {
    position: relative;
}

.row-status > td:first-child::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 8px;
    bottom: 8px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(var(--status-rgb), 0.95), rgba(var(--status-rgb), 0.55));
    box-shadow: 0 0 12px rgba(var(--status-rgb), 0.32);
    pointer-events: none;
}

.row-status--online {
    --status-rgb: var(--bs-success-rgb);
}

.row-status--active {
    --status-rgb: var(--bs-primary-rgb);
}

.row-status--inactive,
.row-status--in-active,
.row-status--in_active {
    --status-rgb: var(--bs-warning-rgb);
}

.row-status--expired {
    --status-rgb: var(--bs-warning-rgb);
}

.row-status--expired-online > td:first-child::before {
    background: linear-gradient(
        180deg,
        rgba(var(--bs-warning-rgb), 0.95) 0%,
        rgba(var(--bs-warning-rgb), 0.8) 45%,
        rgba(var(--bs-success-rgb), 0.8) 55%,
        rgba(var(--bs-success-rgb), 0.95) 100%
    );
    box-shadow: 0 0 12px rgba(var(--bs-warning-rgb), 0.35), 0 0 12px rgba(var(--bs-success-rgb), 0.35);
}

.row-status--blocked {
    --status-rgb: var(--bs-danger-rgb);
}

.row-status--unknown {
    --status-rgb: var(--bs-secondary-rgb);
}

.filter-canvas .offcanvas-header {
    border-bottom: 1px solid #eef2f7;
}

.filter-canvas .filter-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary);
    font-size: 18px;
}

.filter-canvas .filter-canvas-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.filter-canvas .filter-section {
    padding: 14px;
    border-radius: 16px;
    border: 1px solid #edf1f7;
    background: #fff;
    box-shadow: 0 10px 24px rgba(20, 34, 68, 0.04);
}

.filter-canvas .filter-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1f2a44;
}

.profile-type-toggle {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.profile-type-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.profile-type-toggle label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #e5eaf1;
    color: #3c4a63;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.profile-type-toggle label i {
    font-size: 16px;
}

.profile-type-toggle input:checked + label {
    border-color: rgba(var(--bs-primary-rgb), 0.4);
    background: rgba(var(--bs-primary-rgb), 0.08);
    color: var(--bs-primary);
    box-shadow: 0 8px 18px rgba(var(--bs-primary-rgb), 0.15);
}

.modern-dropdown .dropdown-btn {
    width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #e5eaf1;
    background: #f8fafc;
    color: #24304a;
    text-align: left;
}

.modern-dropdown .dropdown-content {
    border-radius: 14px;
    border: 1px solid #e5eaf1;
    box-shadow: 0 18px 40px rgba(20, 34, 68, 0.12);
}

.filter-footer {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.customer-form .form-section {
    border: 1px solid #e7edf5;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(20, 34, 68, 0.06);
}

.customer-form .customer-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.customer-form .form-main,
.customer-form .form-aside {
    min-width: 0;
}

.customer-form .form-aside {
    position: sticky;
    top: 96px;
    align-self: start;
}

@media (max-width: 991.98px) {
    .customer-form .customer-form-layout {
        grid-template-columns: 1fr;
    }

    .customer-form .form-aside {
        position: static;
    }
}

.customer-form .section-header {
    align-items: center;
}

.customer-form .section-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    font-size: 18px;
}

.customer-form .form-label {
    font-weight: 600;
    color: #28344f;
}

.customer-form .form-control,
.customer-form .form-select,
.customer-form .input-group-text {
    border-radius: 12px;
    border-color: #e4e9f2;
}

.customer-form .input-group-text {
    background: #f8fafc;
    color: #54607a;
}

.customer-form .phone-wrapper {
    border-radius: 12px;
    border: 1px solid #e4e9f2;
    background: #fff;
}

.customer-form .phone-wrapper .country-btn {
    border-right: 1px solid #e4e9f2;
    padding: 10px 12px;
}

.customer-form .phone-wrapper .phone-input {
    padding: 10px 12px;
}

.customer-form .option-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.customer-form .option-chip {
    margin: 0;
    padding: 6px 12px;
    border-radius: 12px;
    border: 1px solid #e4e9f2;
    background: #f8fafc;
}

.customer-form .option-chip .form-check-input {
    margin-top: 0;
}

.customer-form .option-chip .form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.customer-form .option-chip .form-check-label {
    font-weight: 500;
}

.customer-form .invoice-container {
    background: #f8fafc;
    border: 1px solid #e4e9f2;
}

.customer-form .invoice-container .table {
    margin-bottom: 0;
}

.customer-form .payment-toggle {
    display: inline-flex;
    gap: 8px;
    padding: 6px;
    border-radius: 12px;
    background: #f2f5fb;
}

.customer-form .payment-toggle .btn {
    border-radius: 10px;
}

.customer-form .form-actions {
    margin-top: 8px;
}

.limit-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid #f6d3b4;
    background: linear-gradient(135deg, #fff7ed 0%, #fff1f2 100%);
    box-shadow: 0 12px 24px rgba(248, 113, 113, 0.08);
    margin-bottom: 16px;
}

.limit-banner-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    color: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.limit-banner-content {
    flex: 1;
    min-width: 180px;
}

.limit-banner-title {
    font-weight: 600;
    font-size: 16px;
    color: #1f2a44;
    margin-bottom: 4px;
}

.limit-banner-text {
    font-size: 13px;
    color: #6c7a95;
}

.limit-banner-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.limit-banner-close {
    border: none;
    background: transparent;
    color: #9a3412;
    font-size: 18px;
    line-height: 1;
    padding: 4px;
    align-self: flex-start;
}

.limit-banner-close:hover {
    color: #ea580c;
}

.limit-banner-count {
    font-size: 14px;
    font-weight: 600;
    color: #ea580c;
}

.limit-banner-progress {
    width: 100%;
    height: 6px;
    background: #fde7d7;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 8px;
}

.limit-banner-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #fb923c, #f97316);
}

.limit-banner-dismissed .limit-banner {
    display: none !important;
}

@media (max-width: 768px) {
    .limit-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .limit-banner-actions {
        align-items: flex-start;
        width: 100%;
    }
}

.notification-dropdown {
    border-radius: 18px;
    padding: 0;
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.12);
    overflow: hidden;
}

.notification-head {
    border-bottom: 1px solid #edf1f7;
    background: #fff;
}

.notification-action {
    border-radius: 999px;
}

.notification-list {
    padding: 0;
    background: #fff;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 0;
    margin-bottom: 0;
    background: #fff;
    border: none;
    border-bottom: 1px solid #edf1f7;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    white-space: normal;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    box-shadow: none;
    transform: none;
    background: #f9fbff;
}

.notification-item-unread {
    background: #eef4ff;
}

.notification-icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.notification-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.notification-title {
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
    color: #1f2a44;
    word-break: break-word;
}

.notification-time {
    font-size: 11px;
    color: #94a0b8;
    white-space: nowrap;
}

.notification-desc {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.4;
    color: #6c7a95;
    word-break: break-word;
}

.notification-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 8px;
    font-size: 11px;
    color: #94a0b8;
}

.notification-meta strong {
    font-weight: 600;
    color: #334155;
}

.notification-meta-muted {
    margin-left: 6px;
    font-size: 11px;
    color: #94a0b8;
}

.notification-toast-container {
    position: fixed;
    top: 86px;
    right: 24px;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 320px;
}

.notification-toast {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
    padding: 14px 16px;
    display: flex;
    gap: 12px;
    border: 1px solid #e2e8f0;
}

.notification-toast.warning {
    border-color: #fde1c6;
    background: #fff8f0;
}

.notification-toast.info {
    border-color: #dbe7ff;
    background: #f5f8ff;
}

.notification-toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.notification-toast-content {
    flex: 1;
    min-width: 0;
}

.notification-toast-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1f2a44;
}

.notification-toast-message {
    font-size: 12px;
    color: #6c7a95;
    line-height: 1.4;
}

.notification-toast-close {
    border: none;
    background: transparent;
    color: #94a0b8;
    font-size: 16px;
    line-height: 1;
    padding: 0;
}

.notification-toast-close:hover {
    color: #64748b;
}

@media (max-width: 768px) {
    .notification-toast-container {
        right: 16px;
        left: 16px;
        max-width: none;
    }
}

.topbar-user-name {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #2563eb;
    flex-shrink: 0;
}

.notification-custom:focus,
.notification-custom:focus-visible,
.notification-custom:active,
.notification-hover .nav-link:focus,
.notification-hover .nav-link:focus-visible {
    outline: none;
    box-shadow: none;
}

.dashboard-meta-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--bs-secondary-color);
    white-space: nowrap;
}

.dashboard-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.dashboard-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    display: inline-block;
    flex-shrink: 0;
}

.sidebar-group>.sidebar-link {
    font-weight: 600;
    color: #1f2a44;
    margin-bottom: 2px;
    padding: 6px 10px;
}

.sidebar-group>.sidebar-link .ti {
    font-size: 18px;
}

.sidebar-nav .sidebar-group-menu {
    margin-top: 2px;
    padding-left: 6px;
    margin-bottom: 6px;
}

.sidebar-nav .sidebar-item .sidebar-group-menu .sidebar-link {
    padding: 4px 10px 4px 28px;
    gap: 8px;
    position: relative;
    font-size: 13px;
}

.sidebar-nav .sidebar-item .sidebar-group-menu .sidebar-link .ti {
    display: none;
}

.sidebar-nav .sidebar-item .sidebar-group-menu .sidebar-link::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #cbd5e1;
    transform: translateY(-50%);
}

.sidebar-nav .sidebar-item .sidebar-group-menu .sidebar-link::after {
    content: "";
    position: absolute;
    left: 14px;
    top: -8px;
    bottom: -8px;
    width: 2px;
    background: #edf2f7;
    border-radius: 999px;
    z-index: -1;
}

.sidebar-nav ul .sidebar-item .first-level .sidebar-item {
    margin-bottom: 0;
}

.sidebar-nav ul .sidebar-item .first-level .sidebar-item:last-child {
    margin-bottom: 4px;
}

.sidebar-nav .sidebar-item .sidebar-group-menu .sidebar-item:first-child>.sidebar-link::after {
    top: 50%;
}

.sidebar-nav .sidebar-item .sidebar-group-menu .sidebar-item:last-child>.sidebar-link::after {
    bottom: 50%;
}

.sidebar-nav .sidebar-item .sidebar-group-menu .sidebar-link.active::before {
    background: var(--bs-primary);
}
