/**
* Template Name: NiceAdmin
* Updated: Sep 18 2023 with Bootstrap v5.3.2
* Template URL: https://bootstrapmade.com/nice-admin-bootstrap-admin-html-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/


/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", sans-serif;
    background: #f6f9ff;
    color: #444444;
}

a {
    color: #168d09;
    text-decoration: none;
}

a:hover {
    color: #168d09;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Nunito", sans-serif;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
    margin-top: 60px;
    padding: 20px 30px;
    transition: all 0.3s;
}

@media (max-width: 1199px) {
    #main {
        padding: 20px;
    }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
    margin-bottom: 10px;
}

.pagetitle h1 {
    font-size: 24px;
    margin-bottom: 0;
    font-weight: 600;
    color: #012970;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background: #168d09;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 24px;
    color: #fff;
    line-height: 0;
}

.back-to-top:hover {
    background: #6776f4;
    color: #fff;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
    border-radius: 4px;
    padding: 10px 0;
    animation-name: dropdown-animate;
    animation-duration: 0.2s;
    animation-fill-mode: both;
    border: 0;
    box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
    text-align: center;
    font-size: 15px;
    padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
    color: #444444;
    text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
    text-decoration: none;
}

.dropdown-menu .dropdown-divider {
    color: #a5c5fe;
    margin: 0;
}

.dropdown-menu .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
}

.dropdown-menu .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f6f9ff;
}

@media (min-width: 768px) {
    .dropdown-menu-arrow::before {
        content: "";
        width: 13px;
        height: 13px;
        background: #fff;
        position: absolute;
        top: -7px;
        right: 20px;
        transform: rotate(45deg);
        border-top: 1px solid #eaedf1;
        border-left: 1px solid #eaedf1;
    }
}

@keyframes dropdown-animate {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }

    0% {
        opacity: 0;
    }
}

/* Light Backgrounds */
.bg-primary-light {
    background-color: #cfe2ff;
    border-color: #cfe2ff;
}

.bg-secondary-light {
    background-color: #e2e3e5;
    border-color: #e2e3e5;
}

.bg-success-light {
    background-color: #d1e7dd;
    border-color: #d1e7dd;
}

.bg-danger-light {
    background-color: #f8d7da;
    border-color: #f8d7da;
}

.bg-warning-light {
    background-color: #fff3cd;
    border-color: #fff3cd;
}

.bg-info-light {
    background-color: #cff4fc;
    border-color: #cff4fc;
}

.bg-dark-light {
    background-color: #d3d3d4;
    border-color: #d3d3d4;
}

/* Card */
.card {
    margin-bottom: 30px;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.card-header,
.card-footer {
    border-color: #ebeef4;
    background-color: #fff;
    color: #798eb3;
    padding: 15px;
}

.card-title {
    padding: 20px 0 15px 0;
    font-size: 18px;
    font-weight: 500;
    color: #012970;
    font-family: "Poppins", sans-serif;
}

.card-title span {
    color: #899bbd;
    font-size: 14px;
    font-weight: 400;
}

.card-body {
    padding: 0 20px 20px 20px;
}

.card-img-overlay {
    background-color: rgba(255, 255, 255, 0.6);
}

/* Alerts */
.alert-heading {
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
}

/* Close Button */
.btn-close {
    background-size: 25%;
}

.btn-close:focus {
    outline: 0;
    box-shadow: none;
}

/* Accordion */
.accordion-item {
    border: 1px solid #ebeef4;
}

.accordion-button:focus {
    outline: 0;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: #012970;
    background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
    padding: 15px 0;
    background: none;
    border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
    box-shadow: none;
    color: #168d09;
}

.accordion-flush .accordion-body {
    padding: 0 0 15px 0;
    color: #3e4f6f;
    font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
    font-size: 14px;
    font-family: "Nunito", sans-serif;
    color: #899bbd;
    font-weight: 600;
}

.breadcrumb a {
    color: #899bbd;
    transition: 0.3s;
}

.breadcrumb a:hover {
    color: #51678f;
}

.breadcrumb .breadcrumb-item::before {
    color: #899bbd;
}

.breadcrumb .active {
    color: #51678f;
    font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
    border-bottom: 2px solid #ebeef4;
}

.nav-tabs-bordered .nav-link {
    margin-bottom: -2px;
    border: none;
    color: #2c384e;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
    color: #168d09;
}

.nav-tabs-bordered .nav-link.active {
    background-color: #fff;
    color: #168d09;
    border-bottom: 2px solid #168d09;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
    line-height: 1;
}

@media (min-width: 1200px) {
    .logo {
        width: 280px;
    }
}

.logo img {
    max-height: 26px;
    margin-right: 6px;
}

.logo span {
    font-size: 26px;
    font-weight: 700;
    color: #012970;
    font-family: "Nunito", sans-serif;
}

.header {
    transition: all 0.5s;
    z-index: 997;
    height: 60px;
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
    padding-left: 20px;
    /* Toggle Sidebar Button */
    /* Search Bar */
}

.header .toggle-sidebar-btn {
    font-size: 32px;
    padding-left: 10px;
    cursor: pointer;
    color: #012970;
}

.header .search-bar {
    min-width: 360px;
    padding: 0 20px;
}

@media (max-width: 1199px) {
    .header .search-bar {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        padding: 20px;
        box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
        background: white;
        z-index: 9999;
        transition: 0.3s;
        visibility: hidden;
        opacity: 0;
    }

    .header .search-bar-show {
        top: 60px;
        visibility: visible;
        opacity: 1;
    }
}

.header .search-form {
    width: 100%;
}

.header .search-form input {
    border: 0;
    font-size: 14px;
    color: #012970;
    border: 1px solid rgba(1, 41, 112, 0.2);
    padding: 7px 38px 7px 8px;
    border-radius: 3px;
    transition: 0.3s;
    width: 100%;
}

.header .search-form input:focus,
.header .search-form input:hover {
    outline: none;
    box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
    border: 1px solid rgba(1, 41, 112, 0.3);
}

.header .search-form button {
    border: 0;
    padding: 0;
    margin-left: -30px;
    background: none;
}

.header .search-form button i {
    color: #012970;
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
    list-style: none;
}

.header-nav > ul {
    margin: 0;
    padding: 0;
}

.header-nav .nav-icon {
    font-size: 22px;
    color: #012970;
    margin-right: 25px;
    position: relative;
}

.header-nav .nav-profile {
    color: #012970;
}

.header-nav .nav-profile img {
    max-height: 36px;
}

.header-nav .nav-profile span {
    font-size: 14px;
    font-weight: 600;
}

.header-nav .badge-number {
    position: absolute;
    inset: -2px -5px auto auto;
    font-weight: normal;
    font-size: 12px;
    padding: 3px 6px;
}

.header-nav .notifications {
    inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    transition: 0.3s;
}

.header-nav .notifications .notification-item i {
    margin: 0 20px 0 10px;
    font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
}

.header-nav .notifications .notification-item:hover {
    background-color: #f6f9ff;
}

.header-nav .messages {
    inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
    padding: 15px 10px;
    transition: 0.3s;
}

.header-nav .messages .message-item a {
    display: flex;
}

.header-nav .messages .message-item img {
    margin: 0 20px 0 10px;
    max-height: 40px;
}

.header-nav .messages .message-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444444;
}

.header-nav .messages .message-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
}

.header-nav .messages .message-item:hover {
    background-color: #f6f9ff;
}

.header-nav .profile {
    min-width: 240px;
    padding-bottom: 0;
    top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 600;
    color: #444444;
}

.header-nav .profile .dropdown-header span {
    font-size: 14px;
}

.header-nav .profile .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
    background-color: #f6f9ff;
}

/* FARAS-style header profile and sign-out menu */
.header-nav .profile {
    border: 1px solid #e9eef5;
    border-radius: 5px;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.16);
    min-width: 240px;
    overflow: visible;
    padding: 0;
    top: 8px !important;
}

.header-nav .profile .dropdown-header {
    border-bottom: 1px solid #e9eef5;
    padding: 12px 18px;
    text-align: left;
}

.header-nav .profile .dropdown-header h6 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.header-nav .profile .dropdown-item {
    align-items: center;
    display: flex;
    font-size: 14px;
    gap: 10px;
    min-height: 48px;
    padding: 12px 18px;
}

.header-nav .profile .dropdown-item i {
    flex: 0 0 auto;
    font-size: 18px;
    margin: 0;
}

.header-nav .profile .dropdown-item span {
    font-weight: 500;
}

.header-nav .profile.dropdown-menu-arrow::before {
    right: 18px;
}

[data-bs-theme="dark"] .header-nav .profile {
    background: #212529 !important;
    border-color: #495057 !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.36);
}

[data-bs-theme="dark"] .header-nav .profile .dropdown-header {
    border-color: #495057;
}

[data-bs-theme="dark"] .header-nav .profile .dropdown-header h6,
[data-bs-theme="dark"] .header-nav .profile .dropdown-item,
[data-bs-theme="dark"] .header-nav .profile .dropdown-item i,
[data-bs-theme="dark"] .header-nav .profile .dropdown-item span {
    color: #dee2e6 !important;
}

[data-bs-theme="dark"] .header-nav .profile .dropdown-item:hover,
[data-bs-theme="dark"] .header-nav .profile .dropdown-item:focus {
    background: #343a40 !important;
    color: #fff !important;
}

[data-bs-theme="dark"] .header-nav .profile.dropdown-menu-arrow::before {
    background: #212529 !important;
    border-color: #495057 !important;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 300px;
    z-index: 996;
    transition: all 0.3s;
    padding: 20px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #aab7cf transparent;
    box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
}

@media (max-width: 1199px) {
    .sidebar {
        left: -300px;
    }
}

.sidebar::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #fff;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #aab7cf;
}

@media (min-width: 1200px) {

    #main,
    #footer {
        margin-left: 300px;
    }
}

@media (max-width: 1199px) {
    .toggle-sidebar .sidebar {
        left: 0;
    }
}

@media (min-width: 1200px) {

    .toggle-sidebar #main,
    .toggle-sidebar #footer {
        margin-left: 80px;
    }

    .toggle-sidebar .sidebar {
        left: 0;
        width: 80px;
        padding: 16px 10px;
        overflow: visible;
    }

    .toggle-sidebar .header .logo > img:first-of-type,
    .toggle-sidebar .header .logo > span {
        display: none !important;
    }

    .toggle-sidebar .header .logo {
        margin: 0;
        width: auto;
    }

    .toggle-sidebar .sidebar .nav-link span,
    .toggle-sidebar .sidebar .nav-link .bi-chevron-down,
    .toggle-sidebar .sidebar .nav-content,
    .toggle-sidebar .sidebar .sidebar-footer {
        display: none !important;
    }

    .toggle-sidebar .sidebar .nav-link {
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }

    .toggle-sidebar .sidebar .nav-link i {
        font-size: 20px;
        margin-right: 0;
    }

    .toggle-sidebar .sidebar .nav-item {
        position: relative;
    }

    .toggle-sidebar .sidebar .nav-item:hover,
    .toggle-sidebar .sidebar .nav-item:focus-within {
        z-index: 1000;
    }

    .toggle-sidebar .sidebar .nav-item:hover::after,
    .toggle-sidebar .sidebar .nav-item:focus-within::after {
        content: "";
        height: var(--sidebar-flyout-height, 80px);
        left: 100%;
        position: absolute;
        top: var(--sidebar-flyout-top, 0);
        width: 10px;
    }

    .toggle-sidebar .sidebar .nav-item:hover > .nav-link span,
    .toggle-sidebar .sidebar .nav-item:focus-within > .nav-link span {
        align-items: center;
        background: #fff;
        border-radius: 4px 4px 0 0;
        box-shadow: 0 8px 24px rgba(1, 41, 112, 0.16);
        color: #012970;
        display: flex !important;
        font-size: 14px;
        font-weight: 600;
        left: calc(100% + 10px);
        min-height: 40px;
        padding: 10px 15px;
        position: absolute;
        top: var(--sidebar-flyout-top, 0);
        width: 280px;
        z-index: 1001;
    }

    .toggle-sidebar .sidebar .nav-item:hover > .nav-content,
    .toggle-sidebar .sidebar .nav-item:focus-within > .nav-content {
        background: #fff;
        border-radius: 0 0 4px 4px;
        box-shadow: 0 12px 28px rgba(1, 41, 112, 0.18);
        display: block !important;
        height: auto !important;
        left: calc(100% + 10px);
        max-height: min(70vh, 520px);
        overflow-y: auto;
        padding: 6px 0 8px;
        position: absolute;
        top: calc(var(--sidebar-flyout-top, 0px) + 40px);
        visibility: visible;
        width: 280px;
        z-index: 1000;
    }

    .toggle-sidebar .sidebar .nav-item:hover > .nav-content.collapsing,
    .toggle-sidebar .sidebar .nav-item:focus-within > .nav-content.collapsing {
        transition: none;
    }

    .toggle-sidebar .sidebar .nav-content a {
        padding: 9px 15px;
        white-space: normal;
    }

    .toggle-sidebar .sidebar .nav-content a i {
        flex: 0 0 auto;
    }

    .toggle-sidebar .sidebar .nav-submenu-search {
        padding: 6px 12px 8px;
    }
}

.sidebar-nav {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-submenu-search {
    list-style: none;
    margin: 0;
    padding: 4px 10px 8px 15px;
}

.sidebar-nav .submenu-search {
    position: relative;
}

.sidebar-nav .submenu-search i {
    color: #899bbd;
    font-size: 12px;
    left: 10px;
    margin: 0;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.sidebar-nav .submenu-search-input {
    background: #f6f9ff;
    border: 1px solid #e9eef6;
    border-radius: 6px;
    color: #012970;
    font-size: 12px;
    outline: none;
    padding: 7px 10px 7px 30px;
    width: 100%;
}

.sidebar-nav .submenu-search-input:focus {
    background: #fff;
    border-color: #168d09;
    box-shadow: 0 0 0 2px rgba(22, 141, 9, 0.12);
}

.sidebar-nav .submenu-search-input::placeholder {
    color: #899bbd;
}

.sidebar-nav .submenu-search-empty {
    color: #899bbd;
    font-size: 12px;
    list-style: none;
    padding: 8px 15px 10px 40px;
}

.sidebar-nav .nav-submenu-item.menu-item-hidden {
    display: none !important;
}

.sidebar-nav li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-item {
    margin-bottom: 5px;
}

.sidebar-nav .nav-heading {
    font-size: 11px;
    text-transform: uppercase;
    color: #899bbd;
    font-weight: 600;
    margin: 10px 0 5px 15px;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    color: #168d09;
    transition: 0.3;
    background: #f6f9ff;
    padding: 10px 15px;
    border-radius: 4px;
}

.sidebar-nav .nav-link i {
    font-size: 16px;
    margin-right: 10px;
    color: #168d09;
}

.sidebar-nav .nav-link.collapsed {
    color: #012970;
    background: #fff;
}

.sidebar-nav .nav-link.collapsed i {
    color: #899bbd;
}

.sidebar-nav .nav-link:hover {
    color: #168d09;
    background: #f6f9ff;
}

.sidebar-nav .nav-link:hover i {
    color: #168d09;
}

.sidebar-nav .nav-link .bi-chevron-down {
    margin-right: 0;
    transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
    transform: rotate(180deg);
}

.sidebar-nav .nav-content {
    padding: 5px 0 0 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-content a {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
    color: #012970;
    transition: 0.3;
    padding: 10px 0 10px 40px;
    transition: 0.3s;
}

.sidebar-nav .nav-content a i {
    font-size: 9px;
    margin-right: 8px;
    line-height: 0;
    border-radius: 50%;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
    color: #168d09;
}

.sidebar-nav .nav-content a.active i {
    background-color: #168d09;
}

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter {
    position: absolute;
    right: 0px;
    top: 15px;
}

.dashboard .filter .icon {
    color: #aab7cf;
    padding-right: 20px;
    padding-bottom: 5px;
    transition: 0.3s;
    font-size: 16px;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
    color: #168d09;
}

.dashboard .filter .dropdown-header {
    padding: 8px 15px;
}

.dashboard .filter .dropdown-header h6 {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #aab7cf;
    margin-bottom: 0;
    padding: 0;
}

.dashboard .filter .dropdown-item {
    padding: 8px 15px;
}

/* Info Cards */
.dashboard .info-card {
    padding-bottom: 10px;
}

.dashboard .info-card h6 {
    font-size: 28px;
    color: #012970;
    font-weight: 700;
    margin: 0;
    padding: 0;
}

.dashboard .card-icon {
    font-size: 32px;
    line-height: 0;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    flex-grow: 0;
}

.dashboard .sales-card .card-icon {
    color: #168d09;
    background: #f6f6fe;
}

.dashboard .revenue-card .card-icon {
    color: #2eca6a;
    background: #e0f8e9;
}

.dashboard .customers-card .card-icon {
    color: #ff771d;
    background: #ffecdf;
}

/* Activity */
.dashboard .activity {
    font-size: 14px;
}

.dashboard .activity .activity-item .activite-label {
    color: #888;
    position: relative;
    flex-shrink: 0;
    flex-grow: 0;
    min-width: 64px;
}

.dashboard .activity .activity-item .activite-label::before {
    content: "";
    position: absolute;
    right: -11px;
    width: 4px;
    top: 0;
    bottom: 0;
    background-color: #eceefe;
}

.dashboard .activity .activity-item .activity-badge {
    margin-top: 3px;
    z-index: 1;
    font-size: 11px;
    line-height: 0;
    border-radius: 50%;
    flex-shrink: 0;
    border: 3px solid #fff;
    flex-grow: 0;
}

.dashboard .activity .activity-item .activity-content {
    padding-left: 10px;
    padding-bottom: 20px;
}

.dashboard .activity .activity-item:first-child .activite-label::before {
    top: 5px;
}

.dashboard .activity .activity-item:last-child .activity-content {
    padding-bottom: 0;
}

/* News & Updates */
.dashboard .news .post-item + .post-item {
    margin-top: 15px;
}

.dashboard .news img {
    width: 80px;
    float: left;
    border-radius: 5px;
}

.dashboard .news h4 {
    font-size: 15px;
    margin-left: 95px;
    font-weight: bold;
    margin-bottom: 5px;
}

.dashboard .news h4 a {
    color: #012970;
    transition: 0.3s;
}

.dashboard .news h4 a:hover {
    color: #168d09;
}

.dashboard .news p {
    font-size: 14px;
    color: #777777;
    margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
    font-size: 14px;
}

.dashboard .recent-sales .table thead {
    background: #f6f6fe;
}

.dashboard .recent-sales .table thead th {
    border: 0;
}

.dashboard .recent-sales .dataTable-top {
    padding: 0 0 10px 0;
}

.dashboard .recent-sales .dataTable-bottom {
    padding: 10px 0 0 0;
}

/* Top Selling */
.dashboard .top-selling {
    font-size: 14px;
}

.dashboard .top-selling .table thead {
    background: #f6f6fe;
}

.dashboard .top-selling .table thead th {
    border: 0;
}

.dashboard .top-selling .table tbody td {
    vertical-align: middle;
}

.dashboard .top-selling img {
    border-radius: 5px;
    max-width: 60px;
}

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
    display: grid;
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    padding-top: 15px;
}

.iconslist .icon {
    background-color: #fff;
    border-radius: 0.25rem;
    text-align: center;
    color: #012970;
    padding: 15px 0;
}

.iconslist i {
    margin: 0.25rem;
    font-size: 2.5rem;
}

.iconslist .label {
    font-family: var(--bs-font-monospace);
    display: inline-block;
    width: 100%;
    overflow: hidden;
    padding: 0.25rem;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #666;
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img {
    max-width: 120px;
}

.profile .profile-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2c384e;
    margin: 10px 0 0 0;
}

.profile .profile-card h3 {
    font-size: 18px;
}

.profile .profile-card .social-links a {
    font-size: 20px;
    display: inline-block;
    color: rgba(1, 41, 112, 0.5);
    line-height: 0;
    margin-right: 10px;
    transition: 0.3s;
}

.profile .profile-card .social-links a:hover {
    color: #012970;
}

.profile .profile-overview .row {
    margin-bottom: 20px;
    font-size: 15px;
}

.profile .profile-overview .card-title {
    color: #012970;
}

.profile .profile-overview .label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit img {
    max-width: 120px;
}

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
    font-size: 18px;
    font-weight: 600;
    color: #168d09;
}

.faq .basic p {
    color: #6980aa;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
    padding: 28px 30px;
}

.contact .info-box i {
    font-size: 38px;
    line-height: 0;
    color: #168d09;
}

.contact .info-box h3 {
    font-size: 20px;
    color: #012970;
    font-weight: 700;
    margin: 20px 0 10px 0;
}

.contact .info-box p {
    padding: 0;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.contact .php-email-form .error-message {
    display: none;
    color: #fff;
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact .php-email-form .sent-message {
    display: none;
    color: #fff;
    background: #18d26e;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact .php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

.contact .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #18d26e;
    border-top-color: #eee;
    animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    border-radius: 0;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
    border-color: #168d09;
}

.contact .php-email-form input {
    padding: 10px 15px;
}

.contact .php-email-form textarea {
    padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
    background: #168d09;
    border: 0;
    padding: 10px 30px;
    color: #fff;
    transition: 0.4s;
    border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
    background: #5969f3;
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
    padding: 30px;
}

.error-404 h1 {
    font-size: 180px;
    font-weight: 700;
    color: #168d09;
    margin-bottom: 0;
    line-height: 150px;
}

.error-404 h2 {
    font-size: 24px;
    font-weight: 700;
    color: #012970;
    margin-bottom: 30px;
}

.error-404 .btn {
    background: #51678f;
    color: #fff;
    padding: 8px 30px;
}

.error-404 .btn:hover {
    background: #3e4f6f;
}

@media (min-width: 992px) {
    .error-404 img {
        max-width: 50%;
    }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    padding: 20px 0;
    font-size: 14px;
    transition: all 0.3s;
    border-top: 1px solid #cddfff;
}

.footer .copyright {
    text-align: center;
    color: #012970;
}

.footer .credits {
    padding-top: 5px;
    text-align: center;
    font-size: 13px;
    color: #012970;
}
.table-responsive{border:0px;overflow-y:auto;}
.table-responsive.action-menu-overflow-visible {
    overflow: visible !important;
}
.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td{
    border-color:transparent;
    color:#656C78;
    font-size:13px;
    text-align: left
}
.table-striped > tbody > tr:nth-child(odd) > td,
.table > thead > tr > th{
    white-space:nowrap;
    font-weight:600;
    text-transform:uppercase;
    vertical-align:top;
    border-color: transparent;
    background: #F0F4F9;
    color: #656C78;
    font-size: 13px;
    text-align: left;
}

.libtn {
    color: #333;
    background-color: #F0F4F9;
    border-color: #252323;
    margin-top: 2px;
}

/* FARAS-style action dropdowns in dark mode */
[data-bs-theme="dark"] .dropdown-menu:has(.libtn) {
    background: #212529 !important;
    border: 1px solid #495057 !important;
    border-radius: 5px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    min-width: 176px;
    padding: 8px;
}

[data-bs-theme="dark"] .dropdown-menu:has(.libtn) li + li {
    margin-top: 5px;
}

[data-bs-theme="dark"] .dropdown-menu:has(.libtn) form {
    margin: 0;
}

[data-bs-theme="dark"] .dropdown-menu:has(.libtn) .libtn {
    background: #4f8f5d;
    border: 1px solid #4f8f5d;
    border-radius: 5px;
    color: #ffffff;
    display: block;
    font-size: 16px;
    line-height: 1.25;
    margin: 0;
    min-height: 39px;
    padding: 8px 12px;
    text-align: center;
    width: 100%;
}

[data-bs-theme="dark"] .dropdown-menu:has(.libtn) .libtn:hover,
[data-bs-theme="dark"] .dropdown-menu:has(.libtn) .libtn:focus {
    background: #437c50;
    border-color: #437c50;
    color: #ffffff;
}

/*--------------------------------------------------------------
# Shared dark theme
--------------------------------------------------------------*/
[data-bs-theme="dark"] body {
    background-color: #212529;
    color: #dee2e6;
}

[data-bs-theme="dark"] #main,
[data-bs-theme="dark"] main {
    background-color: #212529;
}

[data-bs-theme="dark"] .header,
[data-bs-theme="dark"] .sidebar,
[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .dropdown-menu,
[data-bs-theme="dark"] .modal-content,
[data-bs-theme="dark"] .list-group-item {
    background-color: #212529;
    color: #dee2e6;
}

[data-bs-theme="dark"] .header,
[data-bs-theme="dark"] .sidebar,
[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .dropdown-menu,
[data-bs-theme="dark"] .modal-content,
[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select,
[data-bs-theme="dark"] .input-group-text,
[data-bs-theme="dark"] .select2-container--default .select2-selection--single,
[data-bs-theme="dark"] .select2-container--default .select2-selection--multiple {
    border-color: #495057;
}

[data-bs-theme="dark"] .logo,
[data-bs-theme="dark"] .logo span,
[data-bs-theme="dark"] .header-nav .nav-icon,
[data-bs-theme="dark"] .header-nav .nav-profile,
[data-bs-theme="dark"] .sidebar-nav .nav-link,
[data-bs-theme="dark"] .sidebar-nav .nav-content a,
[data-bs-theme="dark"] .card-title,
[data-bs-theme="dark"] .dropdown-item,
[data-bs-theme="dark"] .dropdown-header,
[data-bs-theme="dark"] .dropdown-header h6,
[data-bs-theme="dark"] label,
[data-bs-theme="dark"] h1,
[data-bs-theme="dark"] h2,
[data-bs-theme="dark"] h3,
[data-bs-theme="dark"] h4,
[data-bs-theme="dark"] h5,
[data-bs-theme="dark"] h6 {
    color: #dee2e6;
}

[data-bs-theme="dark"] .sidebar-nav .nav-link:hover,
[data-bs-theme="dark"] .sidebar-nav .nav-link:not(.collapsed),
[data-bs-theme="dark"] .sidebar-nav .nav-content a:hover,
[data-bs-theme="dark"] .sidebar-nav .nav-content a.active,
[data-bs-theme="dark"] .dropdown-item:hover,
[data-bs-theme="dark"] .dropdown-item:focus {
    background-color: #343a40;
    color: #86b7fe;
}

[data-bs-theme="dark"] .sidebar-nav .submenu-search-input {
    background: #212529;
    border-color: #334155;
    color: #dee2e6;
}

[data-bs-theme="dark"] .sidebar-nav .submenu-search-input:focus {
    background: #1a1d20;
    border-color: #86b7fe;
    box-shadow: 0 0 0 2px rgba(134, 183, 254, 0.15);
}

[data-bs-theme="dark"] .sidebar-nav .submenu-search-input::placeholder,
[data-bs-theme="dark"] .sidebar-nav .submenu-search i,
[data-bs-theme="dark"] .sidebar-nav .submenu-search-empty {
    color: #94a3b8;
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select,
[data-bs-theme="dark"] .input-group-text,
[data-bs-theme="dark"] .select2-container--default .select2-selection--single,
[data-bs-theme="dark"] .select2-container--default .select2-selection--multiple,
[data-bs-theme="dark"] .select2-dropdown {
    background-color: #212529;
    color: #dee2e6;
}

[data-bs-theme="dark"] .form-control::placeholder {
    color: #adb5bd;
}

[data-bs-theme="dark"] .table {
    color: #dee2e6;
    --bs-table-bg: transparent;
    --bs-table-striped-bg: #343a40;
    --bs-table-hover-bg: #343a40;
    --bs-table-color: #dee2e6;
}

[data-bs-theme="dark"] .table > thead > tr > th,
[data-bs-theme="dark"] .table > tbody > tr > th,
[data-bs-theme="dark"] .table > tfoot > tr > th,
[data-bs-theme="dark"] .table > thead > tr > td,
[data-bs-theme="dark"] .table > tbody > tr > td,
[data-bs-theme="dark"] .table > tfoot > tr > td {
    background-color: transparent;
    border-color: #495057;
    color: #dee2e6;
}

[data-bs-theme="dark"] .table-striped > tbody > tr:nth-child(odd) > td,
[data-bs-theme="dark"] .table > thead > tr > th {
    background-color: #343a40;
    color: #dee2e6;
}

[data-bs-theme="dark"] .text-muted,
[data-bs-theme="dark"] .form-text {
    color: #adb5bd !important;
}

[data-bs-theme="dark"] .footer,
[data-bs-theme="dark"] .footer .copyright,
[data-bs-theme="dark"] .footer .credits {
    border-color: #495057;
    color: #adb5bd;
}

.theme-toggle-btn {
    align-items: center;
    border: 0;
    border-radius: 50%;
    color: #012970;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.theme-toggle-btn:hover,
.theme-toggle-btn:focus {
    background: #f0f4f9;
    color: #168d09;
}

[data-bs-theme="dark"] .theme-toggle-btn {
    color: #f8d66d;
}

[data-bs-theme="dark"] .theme-toggle-btn:hover,
[data-bs-theme="dark"] .theme-toggle-btn:focus {
    background: #343a40;
    color: #fff0a6;
}

/* Legacy pages contain many inline light colors. These dark-only rules keep
   every shared panel surface readable without changing light mode. */
[data-bs-theme="dark"] {
    --app-dark-bg: #212529;
    --app-dark-surface: #212529;
    --app-dark-surface-alt: #343a40;
    --app-dark-sidebar: #1a1d20;
    --app-dark-border: #495057;
    --app-dark-text: #dee2e6;
    --app-dark-muted: #adb5bd;
    --app-dark-accent: #86b7fe;
}

[data-bs-theme="dark"] body,
[data-bs-theme="dark"] #main,
[data-bs-theme="dark"] main,
[data-bs-theme="dark"] .main,
[data-bs-theme="dark"] .section,
[data-bs-theme="dark"] .page-content-wrap,
[data-bs-theme="dark"] .content,
[data-bs-theme="dark"] .wrapper {
    background-color: var(--app-dark-bg) !important;
    color: var(--app-dark-text) !important;
}

[data-bs-theme="dark"] .header {
    background-color: var(--app-dark-surface) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3) !important;
}

[data-bs-theme="dark"] .sidebar {
    background-color: var(--app-dark-sidebar) !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3) !important;
    scrollbar-color: #495057 transparent;
}

[data-bs-theme="dark"] .panel,
[data-bs-theme="dark"] .panel-body,
[data-bs-theme="dark"] .panel-heading,
[data-bs-theme="dark"] .otp-shell,
[data-bs-theme="dark"] .otp-card,
[data-bs-theme="dark"] .warning-shell,
[data-bs-theme="dark"] .warning-card,
[data-bs-theme="dark"] .well,
[data-bs-theme="dark"] .box,
[data-bs-theme="dark"] .content-wrapper,
[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .card-body,
[data-bs-theme="dark"] .card-header,
[data-bs-theme="dark"] .card-footer,
[data-bs-theme="dark"] .list-group-item,
[data-bs-theme="dark"] .accordion-item,
[data-bs-theme="dark"] .accordion-button,
[data-bs-theme="dark"] .tab-content,
[data-bs-theme="dark"] .modal-content,
[data-bs-theme="dark"] .modal-header,
[data-bs-theme="dark"] .modal-body,
[data-bs-theme="dark"] .modal-footer,
[data-bs-theme="dark"] .offcanvas,
[data-bs-theme="dark"] .dropdown-menu {
    background-color: var(--app-dark-surface) !important;
    border-color: var(--app-dark-border) !important;
    color: var(--app-dark-text) !important;
}

[data-bs-theme="dark"] [style*="background: #fff"],
[data-bs-theme="dark"] [style*="background:#fff"],
[data-bs-theme="dark"] [style*="background: white"],
[data-bs-theme="dark"] [style*="background:white"],
[data-bs-theme="dark"] [style*="background-color: #fff"],
[data-bs-theme="dark"] [style*="background-color:#fff"],
[data-bs-theme="dark"] [style*="background-color: white"],
[data-bs-theme="dark"] [style*="background-color:white"],
[data-bs-theme="dark"] [style*="background: #ffffff"],
[data-bs-theme="dark"] [style*="background:#ffffff"],
[data-bs-theme="dark"] [style*="background-color: #ffffff"],
[data-bs-theme="dark"] [style*="background-color:#ffffff"] {
    background-color: var(--app-dark-surface) !important;
    background-image: none !important;
    border-color: var(--app-dark-border) !important;
    color: var(--app-dark-text) !important;
}

[data-bs-theme="dark"] .sidebar-nav .nav-link,
[data-bs-theme="dark"] .sidebar-nav .nav-link.collapsed {
    background-color: #212529 !important;
    color: var(--app-dark-text) !important;
}

[data-bs-theme="dark"] .sidebar-nav .nav-content,
[data-bs-theme="dark"] .sidebar-nav .nav-content a {
    background-color: transparent !important;
    color: var(--app-dark-muted) !important;
}

[data-bs-theme="dark"] .toggle-sidebar .sidebar .nav-item:hover > .nav-link span,
[data-bs-theme="dark"] .toggle-sidebar .sidebar .nav-item:focus-within > .nav-link span,
[data-bs-theme="dark"] .toggle-sidebar .sidebar .nav-item:hover > .nav-content,
[data-bs-theme="dark"] .toggle-sidebar .sidebar .nav-item:focus-within > .nav-content {
    background-color: var(--app-dark-surface) !important;
    color: var(--app-dark-text) !important;
}

[data-bs-theme="dark"] .sidebar-nav .nav-link:not(.collapsed),
[data-bs-theme="dark"] .sidebar-nav .nav-link:hover,
[data-bs-theme="dark"] .sidebar-nav .nav-content a:hover,
[data-bs-theme="dark"] .sidebar-nav .nav-content a.active {
    background-color: var(--app-dark-surface-alt) !important;
    color: var(--app-dark-accent) !important;
}

[data-bs-theme="dark"] .sidebar-nav .submenu-search-input {
    background: #212529 !important;
    border-color: #334155 !important;
    color: var(--app-dark-text) !important;
}

[data-bs-theme="dark"] .sidebar-nav .submenu-search-input:focus {
    background: #1a1d20 !important;
    border-color: var(--app-dark-accent) !important;
    box-shadow: 0 0 0 2px rgba(134, 183, 254, 0.15) !important;
}

[data-bs-theme="dark"] .sidebar-nav .submenu-search-input::placeholder,
[data-bs-theme="dark"] .sidebar-nav .submenu-search i,
[data-bs-theme="dark"] .sidebar-nav .submenu-search-empty {
    color: var(--app-dark-muted) !important;
}

[data-bs-theme="dark"] .sidebar-nav .nav-link i,
[data-bs-theme="dark"] .sidebar-nav .nav-link.collapsed i,
[data-bs-theme="dark"] .sidebar-nav .nav-content a i,
[data-bs-theme="dark"] .header .toggle-sidebar-btn {
    color: #adb5bd !important;
}

[data-bs-theme="dark"] .table-responsive,
[data-bs-theme="dark"] .dataTables_wrapper,
[data-bs-theme="dark"] .datatable-wrapper,
[data-bs-theme="dark"] .datatable-container {
    background-color: var(--app-dark-surface) !important;
    color: var(--app-dark-text) !important;
}

[data-bs-theme="dark"] table,
[data-bs-theme="dark"] .table,
[data-bs-theme="dark"] .table > :not(caption) > * > *,
[data-bs-theme="dark"] .table > thead > tr > th,
[data-bs-theme="dark"] .table > tbody > tr > th,
[data-bs-theme="dark"] .table > tfoot > tr > th,
[data-bs-theme="dark"] .table > thead > tr > td,
[data-bs-theme="dark"] .table > tbody > tr > td,
[data-bs-theme="dark"] .table > tfoot > tr > td {
    background-color: var(--app-dark-surface) !important;
    border-color: var(--app-dark-border) !important;
    color: var(--app-dark-text) !important;
}

[data-bs-theme="dark"] .table > thead > tr > th,
[data-bs-theme="dark"] .table thead th,
[data-bs-theme="dark"] .table-striped > tbody > tr:nth-child(odd) > td,
[data-bs-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: var(--app-dark-surface-alt) !important;
    color: var(--app-dark-text) !important;
}

[data-bs-theme="dark"] .table-hover > tbody > tr:hover > *,
[data-bs-theme="dark"] table tbody tr:hover > * {
    background-color: #343a40 !important;
    color: #ffffff !important;
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select,
[data-bs-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
[data-bs-theme="dark"] textarea,
[data-bs-theme="dark"] select,
[data-bs-theme="dark"] .input-group-text {
    background-color: #212529 !important;
    border-color: var(--app-dark-border) !important;
    color: var(--app-dark-text) !important;
}

[data-bs-theme="dark"] option {
    background-color: #212529;
    color: var(--app-dark-text);
}

[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus,
[data-bs-theme="dark"] input:focus,
[data-bs-theme="dark"] textarea:focus,
[data-bs-theme="dark"] select:focus {
    background-color: #212529 !important;
    border-color: #86b7fe !important;
    box-shadow: 0 0 0 0.2rem rgba(134, 183, 254, 0.2) !important;
    color: #ffffff !important;
}

[data-bs-theme="dark"] label,
[data-bs-theme="dark"] p,
[data-bs-theme="dark"] span,
[data-bs-theme="dark"] td,
[data-bs-theme="dark"] th,
[data-bs-theme="dark"] .card-title,
[data-bs-theme="dark"] .otp-title,
[data-bs-theme="dark"] .otp-subtitle,
[data-bs-theme="dark"] .warning-title,
[data-bs-theme="dark"] .warning-subtitle,
[data-bs-theme="dark"] .pagetitle h1 {
    border-color: var(--app-dark-border);
    color: var(--app-dark-text) !important;
}

[data-bs-theme="dark"] .nav-tabs,
[data-bs-theme="dark"] .nav-tabs-bordered {
    border-color: var(--app-dark-border) !important;
}

[data-bs-theme="dark"] .nav-tabs .nav-link,
[data-bs-theme="dark"] .nav-tabs-bordered .nav-link {
    background-color: transparent !important;
    border-color: transparent !important;
    color: var(--app-dark-muted) !important;
}

[data-bs-theme="dark"] .nav-tabs .nav-link.active,
[data-bs-theme="dark"] .nav-tabs-bordered .nav-link.active {
    background-color: var(--app-dark-surface-alt) !important;
    border-color: var(--app-dark-border) !important;
    color: var(--app-dark-accent) !important;
}

[data-bs-theme="dark"] .page-link,
[data-bs-theme="dark"] .pagination > li > a,
[data-bs-theme="dark"] .pagination > li > span {
    background-color: var(--app-dark-surface-alt) !important;
    border-color: var(--app-dark-border) !important;
    color: var(--app-dark-text) !important;
}

[data-bs-theme="dark"] .page-item.active .page-link,
[data-bs-theme="dark"] .pagination > .active > a,
[data-bs-theme="dark"] .pagination > .active > span {
    background-color: #4f8f5d !important;
    border-color: #4f8f5d !important;
    color: #ffffff !important;
}

[data-bs-theme="dark"] .select2-container--default .select2-selection--single,
[data-bs-theme="dark"] .select2-container--default .select2-selection--multiple,
[data-bs-theme="dark"] .select2-dropdown,
[data-bs-theme="dark"] .select2-search__field,
[data-bs-theme="dark"] .select2-results__option {
    background-color: #212529 !important;
    border-color: var(--app-dark-border) !important;
    color: var(--app-dark-text) !important;
}

[data-bs-theme="dark"] .select2-container--default .select2-results__option--highlighted[aria-selected],
[data-bs-theme="dark"] .select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: var(--app-dark-surface-alt) !important;
    color: #ffffff !important;
}

[data-bs-theme="dark"] .datepicker,
[data-bs-theme="dark"] .datepicker table,
[data-bs-theme="dark"] .datepicker table tr td,
[data-bs-theme="dark"] .datepicker table tr th,
[data-bs-theme="dark"] .flatpickr-calendar,
[data-bs-theme="dark"] .flatpickr-days,
[data-bs-theme="dark"] .flatpickr-day,
[data-bs-theme="dark"] .flatpickr-months,
[data-bs-theme="dark"] .flatpickr-month,
[data-bs-theme="dark"] .flatpickr-current-month,
[data-bs-theme="dark"] .flatpickr-weekdays {
    background-color: var(--app-dark-surface) !important;
    border-color: var(--app-dark-border) !important;
    color: var(--app-dark-text) !important;
}

[data-bs-theme="dark"] .swal2-popup,
[data-bs-theme="dark"] .swal2-title,
[data-bs-theme="dark"] .swal2-html-container {
    background-color: var(--app-dark-surface) !important;
    color: var(--app-dark-text) !important;
}

[data-bs-theme="dark"] hr,
[data-bs-theme="dark"] .dropdown-divider,
[data-bs-theme="dark"] .modal-header,
[data-bs-theme="dark"] .modal-footer {
    border-color: var(--app-dark-border) !important;
}

[data-bs-theme="dark"] .dropdown-menu-arrow::before {
    background-color: var(--app-dark-surface) !important;
    border-color: var(--app-dark-border) !important;
}

[data-bs-theme="dark"] .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

[data-bs-theme="dark"] pre,
[data-bs-theme="dark"] code {
    background-color: #1a1d20;
    color: #dee2e6;
}

/* Types, delivery types, and country catalogs */
.catalog-page .catalog-toolbar {
    align-items: center;
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    min-height: 124px;
    padding: 20px;
}

.catalog-page .catalog-add-btn {
    border-radius: 10px;
    font-weight: 600;
    min-width: 220px;
    padding: 9px 18px;
}

.catalog-page .catalog-card {
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.catalog-page .catalog-card:hover {
    box-shadow: 0 14px 30px rgba(16, 24, 40, 0.12);
    transform: translateY(-2px);
}

.catalog-page .catalog-image {
    align-items: center;
    display: flex;
    height: 88px;
    justify-content: center;
    padding: 14px;
}

.catalog-page .catalog-image img {
    max-height: 64px;
    max-width: 110px;
    object-fit: contain;
}

.catalog-page .country-flag {
    height: 106px;
}

.catalog-page .country-flag img {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 8px;
    max-height: 76px;
    max-width: 120px;
    padding: 4px;
}

.catalog-page .catalog-meta {
    flex: 1;
}

.catalog-page .catalog-meta .list-group-item {
    align-items: center;
    border-color: #f0f3f8;
    border-left: 0;
    border-right: 0;
    display: flex;
    font-size: 13px;
    justify-content: space-between;
    padding: 11px 4px;
}

.catalog-page .catalog-value {
    font-weight: 600;
    margin-left: 10px;
    text-align: right;
}

.catalog-page .catalog-status {
    border-radius: 999px;
    color: #fff;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
}

.catalog-page .catalog-status.on {
    background: #58a959;
}

.catalog-page .catalog-status.off {
    background: #d6334f;
}

.catalog-page .catalog-description {
    align-items: flex-start !important;
    display: block !important;
    justify-content: flex-start !important;
    min-height: 100px;
}

.catalog-page .catalog-edit-btn {
    border-radius: 0;
    font-weight: 600;
    width: 100%;
}

[data-bs-theme="dark"] .catalog-page .catalog-toolbar,
[data-bs-theme="dark"] .catalog-page .catalog-card {
    background: #212529 !important;
    border-color: #495057 !important;
    box-shadow: none;
}

[data-bs-theme="dark"] .catalog-page .catalog-meta .list-group-item {
    background: #343a40 !important;
    border-color: #495057 !important;
    color: #dee2e6 !important;
}

[data-bs-theme="dark"] .catalog-page .catalog-value {
    color: #fff !important;
}

[data-bs-theme="dark"] .catalog-page .country-flag img {
    background: #1a1d20;
    border-color: #495057;
}

/* Standalone admin authentication and security screens */
[data-bs-theme="dark"] body.admin-login-page,
[data-bs-theme="dark"] body.security-auth-page {
    background: #171a1d !important;
    color: #dee2e6 !important;
}

[data-bs-theme="dark"] body.admin-login-page main,
[data-bs-theme="dark"] body.admin-login-page main .section,
[data-bs-theme="dark"] body.security-auth-page main,
[data-bs-theme="dark"] body.security-auth-page main .section {
    background: transparent !important;
}

[data-bs-theme="dark"] .admin-login-page .card,
[data-bs-theme="dark"] .security-auth-page .card,
[data-bs-theme="dark"] .security-auth-page .otp-shell,
[data-bs-theme="dark"] .security-auth-page .warning-shell,
[data-bs-theme="dark"] .security-auth-page .warning-card {
    background: #212529 !important;
    border: 1px solid #495057 !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5) !important;
}

[data-bs-theme="dark"] .admin-login-page .card {
    border-radius: 20px !important;
    overflow: hidden;
}

[data-bs-theme="dark"] .admin-login-page .login-card-body {
    background: #212529 !important;
    border-radius: inherit;
}

[data-bs-theme="dark"] .security-auth-page .otp-option {
    background: #2b3035 !important;
    border-color: #495057 !important;
    color: #dee2e6 !important;
}

[data-bs-theme="dark"] .security-auth-page .otp-option:hover,
[data-bs-theme="dark"] .security-auth-page .otp-option.active {
    background: #343a40 !important;
    border-color: #58a959 !important;
    box-shadow: 0 0 0 2px rgba(88, 169, 89, 0.14);
}

[data-bs-theme="dark"] .security-auth-page .otp-option span,
[data-bs-theme="dark"] .security-auth-page .remember-check,
[data-bs-theme="dark"] .security-auth-page .otp-subtext,
[data-bs-theme="dark"] .security-auth-page .warning-subtext,
[data-bs-theme="dark"] .security-auth-page .otp-helper-text,
[data-bs-theme="dark"] .security-auth-page .otp-footer-text,
[data-bs-theme="dark"] .security-auth-page .helper-text {
    color: #dee2e6 !important;
}

[data-bs-theme="dark"] .security-auth-page .warning-message {
    background: rgba(255, 193, 7, 0.14) !important;
    border-color: #f0c040 !important;
}

[data-bs-theme="dark"] .security-auth-page .warning-message p {
    color: #ffe08a !important;
}

[data-bs-theme="dark"] .security-auth-page .otp-field,
[data-bs-theme="dark"] .security-auth-page .otp-inputs input {
    background: #2b3035 !important;
    border-color: #5c636a !important;
    color: #ffffff !important;
}

[data-bs-theme="dark"] .security-auth-page .otp-field:focus,
[data-bs-theme="dark"] .security-auth-page .otp-inputs input:focus {
    background: #343a40 !important;
    border-color: #58a959 !important;
    box-shadow: 0 0 0 0.2rem rgba(88, 169, 89, 0.22) !important;
}

[data-bs-theme="dark"] .security-auth-page .qr-wrapper {
    background: #2b3035 !important;
    border-color: #5c636a !important;
}

[data-bs-theme="dark"] .security-auth-page .back-pill {
    border-color: #5c636a !important;
    color: #dee2e6 !important;
}

[data-bs-theme="dark"] .security-auth-page .back-pill:hover {
    background: #343a40 !important;
}

[data-bs-theme="dark"] .security-auth-page .btn-success:disabled {
    background: #3f684a !important;
    border-color: #3f684a !important;
    color: #ced4da !important;
    opacity: 1;
}

/* Shared checkbox, radio, and multi-select controls */
[data-bs-theme="dark"] input[type="checkbox"],
[data-bs-theme="dark"] input[type="radio"],
[data-bs-theme="dark"] .form-check-input {
    appearance: none;
    background-color: #2b3035 !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border: 1px solid #6c757d !important;
    box-shadow: none !important;
    cursor: pointer;
}

[data-bs-theme="dark"] input[type="checkbox"],
[data-bs-theme="dark"] .form-check-input[type="checkbox"] {
    border-radius: 3px;
}

[data-bs-theme="dark"] input[type="checkbox"]:not(.form-check-input) {
    display: inline-block;
    flex: 0 0 16px;
    height: 16px;
    margin: 0 6px 0 0;
    min-width: 16px;
    vertical-align: -3px;
    width: 16px;
}

[data-bs-theme="dark"] input[type="radio"],
[data-bs-theme="dark"] .form-check-input[type="radio"] {
    border-radius: 50%;
}

[data-bs-theme="dark"] input[type="checkbox"]:checked,
[data-bs-theme="dark"] input[type="radio"]:checked,
[data-bs-theme="dark"] .form-check-input:checked {
    background-color: #4f8f5d !important;
    border-color: #69b578 !important;
}

[data-bs-theme="dark"] input[type="checkbox"]:checked,
[data-bs-theme="dark"] .form-check-input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m3 8 3 3 7-7'/%3e%3c/svg%3e") !important;
}

[data-bs-theme="dark"] input[type="radio"]:checked,
[data-bs-theme="dark"] .form-check-input[type="radio"]:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e") !important;
}

[data-bs-theme="dark"] .form-switch .form-check-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23adb5bd'/%3e%3c/svg%3e") !important;
    background-position: left center;
    border-radius: 2em;
}

[data-bs-theme="dark"] .form-switch .form-check-input:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e") !important;
    background-position: right center;
}

[data-bs-theme="dark"] input[type="checkbox"]:focus,
[data-bs-theme="dark"] input[type="radio"]:focus,
[data-bs-theme="dark"] .form-check-input:focus {
    border-color: #86b7fe !important;
    box-shadow: 0 0 0 0.2rem rgba(134, 183, 254, 0.2) !important;
}

[data-bs-theme="dark"] .multiselect-container,
[data-bs-theme="dark"] .ms-options-wrap > .ms-options,
[data-bs-theme="dark"] .chosen-container .chosen-drop,
[data-bs-theme="dark"] .chosen-container-multi .chosen-choices {
    background: #212529 !important;
    border-color: #495057 !important;
    color: #dee2e6 !important;
}

[data-bs-theme="dark"] .multiselect-container > li > a > label,
[data-bs-theme="dark"] .ms-options-wrap > .ms-options > ul label,
[data-bs-theme="dark"] .chosen-container .chosen-results li {
    background: #212529 !important;
    color: #dee2e6 !important;
}

[data-bs-theme="dark"] .multiselect-container > li > a:hover > label,
[data-bs-theme="dark"] .ms-options-wrap > .ms-options > ul label:hover,
[data-bs-theme="dark"] .chosen-container .chosen-results li.highlighted {
    background: #343a40 !important;
    color: #ffffff !important;
}

[data-bs-theme="dark"] .fs-label-wrap,
[data-bs-theme="dark"] .fs-dropdown {
    background: #212529 !important;
    border: 1px solid #495057 !important;
    color: #dee2e6 !important;
}

[data-bs-theme="dark"] .fs-label-wrap .fs-label {
    color: #dee2e6 !important;
}

[data-bs-theme="dark"] .fs-arrow {
    border-top-color: #adb5bd !important;
}

[data-bs-theme="dark"] .fs-search {
    background: #212529 !important;
    border-color: #495057 !important;
}

[data-bs-theme="dark"] .fs-search input {
    background: #212529 !important;
    color: #ffffff !important;
}

[data-bs-theme="dark"] .fs-search input::placeholder {
    color: #adb5bd !important;
}

[data-bs-theme="dark"] .fs-option,
[data-bs-theme="dark"] .fs-optgroup-label {
    background: #212529 !important;
    border-color: #495057 !important;
    color: #dee2e6 !important;
}

[data-bs-theme="dark"] .fs-option:hover,
[data-bs-theme="dark"] .fs-option.hl {
    background: #343a40 !important;
    color: #ffffff !important;
}

[data-bs-theme="dark"] .fs-wrap.multiple .fs-option .fs-checkbox i {
    background-color: #2b3035 !important;
    border-color: #6c757d !important;
}

[data-bs-theme="dark"] .fs-wrap.multiple .fs-option.selected .fs-checkbox i {
    background-color: #4f8f5d !important;
    border-color: #69b578 !important;
}

[data-bs-theme="dark"] .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: #343a40 !important;
    border-color: #5c636a !important;
    color: #dee2e6 !important;
}

[data-bs-theme="dark"] select option,
[data-bs-theme="dark"] select optgroup {
    background: #212529;
    color: #dee2e6;
}

/* Main services, service providers, payment options, events, and adverts */
.service-catalog-page .provider-logo,
.service-catalog-page .event-logo {
    border: 0;
    overflow: hidden;
}

.service-catalog-page .contact-info .list-group-item {
    border-left: 0;
    border-right: 0;
}

[data-bs-theme="dark"] .service-catalog-page .provider-logo,
[data-bs-theme="dark"] .service-catalog-page .event-logo {
    background: #343a40 !important;
    border: 1px solid #495057 !important;
}

[data-bs-theme="dark"] .service-catalog-page .row > [class*="col-lg-"] > div:has(.contact-info) {
    border: 1px solid #495057 !important;
    border-radius: 12px;
    overflow: hidden;
    padding-top: 16px;
}

[data-bs-theme="dark"] .service-catalog-page .row > [class*="col-lg-"] > div:has(.contact-info),
[data-bs-theme="dark"] .service-catalog-page .contact-info,
[data-bs-theme="dark"] .service-catalog-page .contact-info .panel-body {
    background: #212529 !important;
    border-color: #495057 !important;
}

[data-bs-theme="dark"] .service-catalog-page .contact-info .list-group-item {
    background: #343a40 !important;
    border-color: #495057 !important;
    color: #dee2e6 !important;
}
/* Notification modal */
.notification-modal .modal-dialog {
  max-width: 1055px;
  margin-top: 14px;
  margin-bottom: 14px;
}

.notification-modal .modal-content {
  background: #fff;
  border: 1px solid #dce3ef;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(24, 39, 75, 0.12);
}

.notification-modal .modal-header,
.notification-modal .modal-footer {
  border: 0;
}

.notification-modal .modal-title {
  color: #08065f;
  font-weight: 700;
  line-height: 1.2;
}

.notification-modal .modal-body {
  overflow: visible;
}

.notification-modal .notification-section-card {
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 10px;
  overflow: visible;
  padding: 18px 18px 16px;
  margin-bottom: 12px;
}

.notification-modal .notification-section-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.notification-modal .notification-section-badge {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #4d9b43;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  flex: 0 0 28px;
}

.notification-modal .notification-section-badge::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: 2px;
  width: 8px;
  height: 8px;
  background: #78b96d;
  border-radius: 2px;
  transform: rotate(18deg);
  z-index: -1;
}

.notification-modal .notification-section-title {
  color: #08065f;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0;
}

.notification-modal .notification-section-subtitle {
  color: #65708c;
  margin: 2px 0 0;
  font-size: 12px;
}

.notification-modal label {
  color: #182348;
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 7px;
}

.notification-modal .notification-required {
  color: #d43f3a;
}

.notification-modal .notification-input-wrap {
  position: relative;
}

.notification-modal .notification-input-wrap > .bi {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  width: 16px;
  font-size: 14px;
  line-height: 1;
  color: #697496;
  text-align: center;
  pointer-events: none;
  z-index: 2;
}

.notification-modal .notification-enhanced-select > .bi {
  display: none;
}

.notification-modal .notification-input-wrap .form-control,
.notification-modal .notification-input-wrap .form-select {
  min-height: 40px;
  border: 1px solid #d8dfec;
  border-radius: 7px;
  color: #263152;
  box-shadow: none;
}

.notification-modal .notification-input-wrap input.form-control {
  height: 40px;
}

.notification-modal .notification-input-wrap > .bi + input.form-control {
  padding-left: 38px;
}

.notification-modal .notification-input-wrap textarea.form-control {
  height: 112px;
  padding-top: 10px;
}

.notification-modal .notification-enhanced-select select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 40px;
  opacity: 0;
  z-index: -1;
}

.notification-modal .notification-select-button {
  width: 100%;
  height: 42px;
  border: 1px solid #d8dfec;
  border-radius: 7px;
  background: #fff;
  color: #263152;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  font-size: 13px;
  line-height: 1;
  text-align: left;
}

.notification-modal .notification-select-button:focus {
  outline: 0;
  border-color: #9fb3ff;
  box-shadow: 0 0 0 0.2rem rgba(100, 123, 255, 0.16);
}

.notification-modal .notification-select-current {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 0;
}

.notification-modal .notification-select-leading-icon {
  align-items: center;
  color: #667099;
  display: inline-flex;
  flex: 0 0 18px;
  font-size: 15px;
  height: 18px;
  justify-content: center;
  line-height: 1;
  width: 18px;
}

.notification-modal .notification-select-leading-media {
  align-items: center;
  display: inline-flex;
  flex: 0 0 18px;
  height: 18px;
  justify-content: center;
  width: 18px;
}

.notification-modal .notification-select-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-modal .notification-select-chevron {
  display: inline-block;
  width: 12px;
  color: #08065f;
  font-size: 12px;
  line-height: 1;
  margin-left: 10px;
  text-align: center;
}

.notification-modal .notification-select-menu {
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  right: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #dce3ef;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(24, 39, 75, 0.1);
  list-style: none;
  margin: 0;
  padding: 4px;
  max-height: 245px;
  overflow-y: auto;
  display: none;
  z-index: 1065;
}

.notification-modal .notification-enhanced-select.is-open .notification-select-menu {
  display: block;
}

.notification-modal .notification-select-option {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 4px;
  color: #08065f;
  cursor: pointer;
  font-size: 13px;
  padding: 7px 9px;
}

.notification-modal .notification-select-option:hover,
.notification-modal .notification-select-option.is-selected,
.notification-modal .notification-select-option.is-focused {
  background: #eef7ec;
}

.notification-modal .notification-select-option.is-placeholder {
  cursor: default;
}

.notification-modal .notification-select-option.is-placeholder.is-selected {
  background: transparent;
  color: #08065f;
}

.notification-modal .notification-select-option.is-disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.notification-modal .notification-select-option-icon {
  align-items: center;
  color: #667099;
  display: inline-flex;
  flex: 0 0 18px;
  font-size: 14px;
  height: 18px;
  justify-content: center;
  line-height: 1;
  width: 18px;
}

.notification-modal .notification-select-option-media {
  align-items: center;
  display: inline-flex;
  flex: 0 0 18px;
  height: 18px;
  justify-content: center;
  width: 18px;
}

.notification-modal .notification-select-service-image {
  border-radius: 4px;
  display: block;
  height: 18px;
  object-fit: contain;
  width: 18px;
}

.notification-modal .notification-select-option.is-selected:not(.is-placeholder) .notification-select-option-icon,
.notification-modal .notification-select-option:hover .notification-select-option-icon {
  color: #4f9650;
}

.notification-modal .notification-enhanced-select.is-disabled {
  opacity: 0.65;
}

.notification-modal .notification-enhanced-select.is-disabled .notification-select-button {
  cursor: not-allowed;
  background: #f6f8fb;
}

.notification-modal .notification-field-error {
  background: #fff1f2;
  border: 1px solid #f5b5bd;
  border-radius: 6px;
  color: #b4232f;
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  margin-top: 6px;
  padding: 5px 8px;
}

.notification-modal .notification-field-invalid .notification-select-button,
.notification-modal .notification-field-invalid .form-control {
  border-color: #dc3545 !important;
}

.notification-modal .notification-field-invalid .notification-select-button:focus,
.notification-modal .notification-field-invalid .form-control:focus {
  box-shadow: 0 0 0 0.18rem rgba(220, 53, 69, 0.14) !important;
}

.notification-modal .notification-composer {
  min-height: 285px;
}

.notification-modal .notification-content-fields {
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
}

.notification-modal .notification-field-group {
  min-width: 0;
}

.notification-modal .notification-character-count {
  background: #f0f3f8;
  border-radius: 20px;
  color: #78829b;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
}

.notification-modal .notification-content-control {
  position: relative;
}

.notification-modal .notification-content-control > i {
  color: #7a84a1;
  font-size: 15px;
  left: 14px;
  line-height: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.notification-modal .notification-content-control .form-control {
  background: #fff;
  border-color: #dce3ef;
  border-radius: 8px;
  box-shadow: none;
  color: #1d2948;
  font-size: 13px;
  min-height: 44px;
  padding-left: 42px;
}

.notification-modal .notification-content-control .form-control:focus {
  border-color: #91a4df;
  box-shadow: 0 0 0 3px rgba(91, 111, 190, 0.1);
}

.notification-modal .notification-message-control {
  min-height: 160px;
}

.notification-modal .notification-message-control > i {
  top: 17px;
  transform: none;
}

.notification-modal .notification-message-control textarea.form-control {
  height: 100%;
  min-height: 160px;
  padding-bottom: 14px;
  padding-top: 13px;
  resize: vertical;
}

.notification-modal .notification-media-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.notification-modal .notification-media-header {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.notification-modal .notification-media-header p {
  color: #7a849c;
  font-size: 11px;
  line-height: 1.45;
  max-width: 230px;
}

.notification-modal .notification-optional-badge {
  background: #eef4ed;
  border-radius: 20px;
  color: #4f8f50;
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 9px;
}

.notification-modal .notification-upload-box {
  align-items: center;
  background: #fff;
  border: 1px dashed #b9c4d4;
  border-radius: 9px;
  cursor: pointer;
  display: flex;
  flex: 1;
  justify-content: center;
  min-height: 210px;
  overflow: hidden;
  padding: 18px;
  text-align: center;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.notification-modal .notification-upload-box:hover,
.notification-modal .notification-upload-box:focus {
  background: #f7fbf6;
  border-color: #70a86f;
  outline: none;
}

.notification-modal .notification-upload-icon {
  align-items: center;
  background: #eef7ed;
  border-radius: 50%;
  color: #4f9650;
  display: inline-flex;
  font-size: 25px;
  height: 58px;
  justify-content: center;
  line-height: 1;
  margin-bottom: 12px;
  width: 58px;
}

.notification-modal .notification-upload-preview {
  border-radius: 7px;
  display: none;
  height: 100%;
  max-height: 220px;
  object-fit: contain;
  width: 100%;
}

.notification-modal .notification-upload-copy {
  color: #15224a;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 5px;
}

.notification-modal .notification-upload-hint {
  color: #737d96;
  font-size: 11px;
}

.notification-modal .notification-upload-formats {
  color: #9aa2b5;
  font-size: 10px;
  margin-top: 16px;
}

.notification-modal .notification-file-feedback {
  color: #7a849c;
  font-size: 10px;
  margin-top: 7px;
}

.notification-modal .notification-info {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fbf7;
  border-radius: 8px;
  padding: 12px 16px;
  color: #3f7e3d;
  font-weight: 600;
  font-size: 12px;
}

.notification-modal .btn-success {
  background: #4d8d57;
  border-color: #4d8d57;
}

[data-bs-theme="dark"] .notification-modal .modal-content {
  background: #15191d !important;
  border-color: #343c46 !important;
  color: #e9ecef !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.38);
}

[data-bs-theme="dark"] .notification-modal .modal-title,
[data-bs-theme="dark"] .notification-modal .notification-section-title,
[data-bs-theme="dark"] .notification-modal label,
[data-bs-theme="dark"] .notification-modal .notification-select-text,
[data-bs-theme="dark"] .notification-modal .notification-upload-copy {
  color: #f1f3f5 !important;
}

[data-bs-theme="dark"] .notification-modal .notification-section-subtitle,
[data-bs-theme="dark"] .notification-modal .notification-media-header p,
[data-bs-theme="dark"] .notification-modal .notification-upload-hint,
[data-bs-theme="dark"] .notification-modal .notification-upload-formats,
[data-bs-theme="dark"] .notification-modal .notification-file-feedback {
  color: #b6beca !important;
}

[data-bs-theme="dark"] .notification-modal .notification-section-card {
  background: #181d22 !important;
  border-color: #343c46 !important;
}

[data-bs-theme="dark"] .notification-modal .notification-content-fields,
[data-bs-theme="dark"] .notification-modal .notification-media-panel {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

[data-bs-theme="dark"] .notification-modal .notification-section-badge {
  background: #5fa854 !important;
  color: #ffffff !important;
}

[data-bs-theme="dark"] .notification-modal .notification-section-badge::after {
  background: #7ac06f !important;
}

[data-bs-theme="dark"] .notification-modal .notification-required {
  color: #ff6b6b !important;
}

[data-bs-theme="dark"] .notification-modal .notification-select-button,
[data-bs-theme="dark"] .notification-modal .notification-select-menu,
[data-bs-theme="dark"] .notification-modal .notification-content-control .form-control {
  background: #15191d !important;
  border-color: #3c4652 !important;
  color: #f8f9fa !important;
}

[data-bs-theme="dark"] .notification-modal .notification-content-control .form-control::placeholder {
  color: #ced4da !important;
  opacity: 1;
}

[data-bs-theme="dark"] .notification-modal .notification-select-leading-icon,
[data-bs-theme="dark"] .notification-modal .notification-select-leading-media,
[data-bs-theme="dark"] .notification-modal .notification-select-option-icon,
[data-bs-theme="dark"] .notification-modal .notification-select-option-media,
[data-bs-theme="dark"] .notification-modal .notification-select-chevron,
[data-bs-theme="dark"] .notification-modal .notification-input-wrap > .bi,
[data-bs-theme="dark"] .notification-modal .notification-content-control > i {
  color: #9db4d7 !important;
}

[data-bs-theme="dark"] .notification-modal .notification-select-option {
  color: #f1f3f5 !important;
}

[data-bs-theme="dark"] .notification-modal .notification-select-option:hover,
[data-bs-theme="dark"] .notification-modal .notification-select-option.is-selected,
[data-bs-theme="dark"] .notification-modal .notification-select-option.is-focused {
  background: #344238 !important;
}

[data-bs-theme="dark"] .notification-modal .notification-select-option.is-placeholder.is-selected {
  background: transparent !important;
  color: #f1f3f5 !important;
}

[data-bs-theme="dark"] .notification-modal .notification-select-option.is-selected:not(.is-placeholder) .notification-select-option-icon,
[data-bs-theme="dark"] .notification-modal .notification-select-option:hover .notification-select-option-icon {
  color: #8fd18d !important;
}

[data-bs-theme="dark"] .notification-modal .notification-character-count {
  background: #2b3138 !important;
  color: #d4dae3 !important;
}

[data-bs-theme="dark"] .notification-modal .notification-character-count span {
  color: #d4dae3 !important;
}

[data-bs-theme="dark"] .notification-modal .notification-optional-badge,
[data-bs-theme="dark"] .notification-modal .notification-upload-icon {
  background: #263b2a !important;
  color: #9ed49a !important;
}

[data-bs-theme="dark"] .notification-modal .notification-upload-box {
  background: #15191d !important;
  border-color: #697686 !important;
  color: #f8f9fa !important;
}

[data-bs-theme="dark"] .notification-modal .notification-upload-box:hover,
[data-bs-theme="dark"] .notification-modal .notification-upload-box:focus {
  background: #18231b !important;
  border-color: #6fbc67 !important;
}

[data-bs-theme="dark"] .notification-modal .notification-info {
  background: #263329 !important;
  color: #b9e4b6 !important;
}

[data-bs-theme="dark"] .notification-modal .notification-info span,
[data-bs-theme="dark"] .notification-modal .notification-info i {
  color: #b9e4b6 !important;
}

[data-bs-theme="dark"] .notification-modal .btn-outline-secondary {
  border-color: #6c757d !important;
  color: #dee2e6 !important;
}

[data-bs-theme="dark"] .notification-modal .btn-outline-secondary:hover,
[data-bs-theme="dark"] .notification-modal .btn-outline-secondary:focus {
  background: #343a40 !important;
  color: #fff !important;
}

[data-bs-theme="dark"] .notification-modal .notification-field-error {
  background: #3a1f24 !important;
  border-color: #8f4852 !important;
  color: #ffb3bb !important;
}

[data-bs-theme="dark"] .notification-modal .notification-field-invalid .notification-select-button,
[data-bs-theme="dark"] .notification-modal .notification-field-invalid .form-control {
  border-color: #ff8787 !important;
}

@media (max-height: 760px) {
  .notification-modal .modal-body {
    overflow-y: auto;
    max-height: calc(100vh - 190px);
  }
}

/* User activity report */
.user-activity-report .activity-toolbar,
.user-activity-report .activity-card {
  background: var(--bs-body-bg);
  border: 1px solid #e8edf3;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(21, 37, 68, 0.04);
}

.user-activity-report .activity-toolbar {
  padding: 16px;
  margin-bottom: 14px;
}

.user-activity-report .activity-card {
  overflow: hidden;
}

.user-activity-report .activity-card .table {
  margin-bottom: 0;
  vertical-align: middle;
}

.user-activity-report .activity-card thead th,
.user-activity-report .activity-modal thead th {
  background: #f7f9fc;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid #e8edf3;
  white-space: nowrap;
}

.user-activity-report .metric-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-weight: 700;
  background: #eef6f0;
  color: #2f6f43;
}

.user-activity-report .metric-pill.neutral {
  background: #eef2f7;
  color: #475569;
}

.user-activity-report .activity-total-row td {
  border-top: 2px solid #d8dee8;
}

.user-activity-report .detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  border-radius: 6px;
  padding: 0 12px;
}

.user-activity-report .activity-modal .modal-dialog {
  max-width: 1055px;
  margin-top: 24px;
  margin-bottom: 14px;
}

.user-activity-report .activity-modal .modal-content {
  border: 1px solid #dce3ef;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  color: #263152;
  box-shadow: 0 12px 32px rgba(24, 39, 75, 0.12);
}

.user-activity-report .activity-modal .modal-header {
  background: transparent;
  border-bottom: 0;
  padding: 24px 24px 10px;
}

.user-activity-report .activity-modal .modal-title {
  color: #08065f;
  font-weight: 700;
  line-height: 1.2;
}

.user-activity-report .activity-modal .btn-close {
  box-shadow: none;
}

.user-activity-report .activity-details-subtitle {
  color: #65708c;
  font-size: 13px;
}

.user-activity-report .activity-modal .modal-body {
  padding: 14px 24px 24px;
}

.user-activity-report .activity-detail-section {
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 10px;
  overflow: hidden;
}

.user-activity-report .detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 16px;
  background: #f8fafc;
  border-top: 1px solid #e8edf3;
  border-bottom: 1px solid #e8edf3;
}

.user-activity-report .detail-meta .activity-summary-pill {
  display: inline-flex !important;
  align-items: center;
  border: 1px solid #dbe4ef !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #334155 !important;
  font-size: 12px;
  line-height: 1;
  padding: 8px 10px;
  white-space: nowrap;
}

.user-activity-report .detail-table-wrap {
  max-height: 520px;
  overflow: auto;
}

.user-activity-report .detail-empty {
  padding: 34px;
  color: #64748b;
  text-align: center;
}

[data-bs-theme="dark"] .user-activity-report .activity-toolbar,
[data-bs-theme="dark"] .user-activity-report .activity-card {
  background: #202428;
  border-color: #454c54;
  color: #f8fafc;
}

[data-bs-theme="dark"] .user-activity-report .panel {
  background: #202428 !important;
  border-color: #454c54;
  color: #f8fafc;
}

[data-bs-theme="dark"] .user-activity-report .panel label {
  color: #f8fafc;
}

[data-bs-theme="dark"] .user-activity-report .panel .form-control {
  background: #15191d;
  border-color: #3c4652;
  color: #f8f9fa;
}

[data-bs-theme="dark"] .user-activity-report .panel .form-control option {
  background: #15191d;
  color: #f8f9fa;
}

[data-bs-theme="dark"] .user-activity-report .dropdown-menu {
  background: #15191d;
  border-color: #3c4652;
}

[data-bs-theme="dark"] .user-activity-report .dropdown-menu .btn {
  color: #f8f9fa;
}

[data-bs-theme="dark"] .user-activity-report .pagination .page-link {
  background: #15191d;
  border-color: #3c4652;
  color: #f8f9fa;
}

[data-bs-theme="dark"] .user-activity-report .pagination .active .page-link {
  background: #198754;
  border-color: #198754;
  color: #fff;
}

[data-bs-theme="dark"] .user-activity-report .activity-card table,
[data-bs-theme="dark"] .user-activity-report .activity-modal table {
  color: #f8fafc;
}

[data-bs-theme="dark"] .user-activity-report .panel table {
  color: #f8fafc;
}

[data-bs-theme="dark"] .user-activity-report .activity-card thead th,
[data-bs-theme="dark"] .user-activity-report .activity-modal thead th,
[data-bs-theme="dark"] .user-activity-report .panel thead th {
  background: #353b42;
  color: #f8fafc;
  border-color: #555d66;
}

[data-bs-theme="dark"] .user-activity-report .activity-card tbody td,
[data-bs-theme="dark"] .user-activity-report .activity-card tfoot td,
[data-bs-theme="dark"] .user-activity-report .activity-modal tbody td,
[data-bs-theme="dark"] .user-activity-report .panel tbody td,
[data-bs-theme="dark"] .user-activity-report .panel tfoot td {
  background: #15191d;
  color: #f8fafc;
  border-color: #343c46;
}

[data-bs-theme="dark"] .user-activity-report .activity-card tbody tr:hover td,
[data-bs-theme="dark"] .user-activity-report .activity-modal tbody tr:hover td,
[data-bs-theme="dark"] .user-activity-report .panel tbody tr:hover td {
  background: #30363d;
  color: #fff;
}

[data-bs-theme="dark"] .user-activity-report .activity-modal .modal-content {
  background: #15191d !important;
  border-color: #343c46 !important;
  color: #e9ecef !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.38);
}

[data-bs-theme="dark"] .user-activity-report .activity-modal .modal-header {
  background: transparent;
  border-bottom: 0;
}

[data-bs-theme="dark"] .user-activity-report .activity-modal .modal-title {
  color: #f1f3f5 !important;
}

[data-bs-theme="dark"] .user-activity-report .activity-details-subtitle {
  color: #b6beca !important;
}

[data-bs-theme="dark"] .user-activity-report .activity-detail-section {
  background: #181d22 !important;
  border-color: #343c46 !important;
}

[data-bs-theme="dark"] .user-activity-report .detail-meta {
  background: #181d22;
  border-color: #343c46;
}

[data-bs-theme="dark"] .user-activity-report .detail-meta .activity-summary-pill,
[data-bs-theme="dark"] .user-activity-report .metric-pill {
  background: #263b2a !important;
  color: #b9e4b6 !important;
  border-color: #3f5f42 !important;
}

[data-bs-theme="dark"] .user-activity-report .metric-pill.neutral {
  background: #2b3138;
  color: #d4dae3;
  border-color: #454f59;
}

[data-bs-theme="dark"] .user-activity-report .activity-total-row td {
  border-top-color: #697686;
}

[data-bs-theme="dark"] .user-activity-report .activity-toolbar .form-label {
  color: #f8fafc;
}

[data-bs-theme="dark"] .user-activity-report .text-muted {
  color: #cbd5e1 !important;
}

@media (max-width: 768px) {
  .user-activity-report .activity-toolbar .btn {
    width: 100%;
  }

  .user-activity-report .activity-modal .modal-dialog {
    max-width: calc(100% - 16px);
    margin: 8px;
  }
}

/* User activity report design */
.user-activity-report {
  color: #172033;
}

.user-activity-report .activity-page-head {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.user-activity-report .activity-page-head h1 {
  color: #111827;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.user-activity-report .activity-page-head p {
  color: #42526e;
  font-size: 15px;
  margin: 8px 0 0;
}

.user-activity-report .activity-filter-card,
.user-activity-report .activity-table-card,
.user-activity-report .activity-stat-card {
  background: #fff;
  border: 1px solid #e7edf4;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(18, 38, 63, 0.06);
}

.user-activity-report .activity-filter-card {
  margin-bottom: 24px;
  padding: 20px 22px;
}

.user-activity-report .activity-filter-label {
  color: #2f405d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 12px;
  text-align: center;
}

.user-activity-report .activity-field-label {
  color: #334155;
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 7px;
}

.user-activity-report .activity-select-wrap {
  position: relative;
}

.user-activity-report .activity-select-wrap > i {
  color: #50627f;
  font-size: 16px;
  left: 16px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.user-activity-report .activity-select-wrap .form-control,
.user-activity-report .activity-control {
  background-color: #fff;
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  box-shadow: none;
  color: #172033;
  font-size: 15px;
  height: 46px;
}

.user-activity-report .activity-select-wrap .form-control {
  padding-left: 44px;
}

.user-activity-report .activity-select-wrap .form-control:focus,
.user-activity-report .activity-control:focus {
  border-color: #168d09;
  box-shadow: 0 0 0 3px rgba(22, 141, 9, 0.12);
}

.user-activity-report .activity-apply-btn {
  align-items: center;
  background: #168d09;
  border: 0;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  gap: 10px;
  height: 46px;
  justify-content: center;
  width: 100%;
}

.user-activity-report .activity-apply-btn:hover,
.user-activity-report .activity-apply-btn:focus {
  background: #127507;
  color: #fff;
}

.user-activity-report .activity-pagination-wrap {
  margin-top: 18px;
}

.user-activity-report .activity-pagination-wrap .pagination {
  margin-bottom: 0;
}

.user-activity-report .activity-summary-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 24px;
}

.user-activity-report .activity-stat-card {
  align-items: center;
  display: flex;
  gap: 16px;
  min-height: 132px;
  padding: 22px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.user-activity-report .activity-stat-card:hover {
  box-shadow: 0 14px 34px rgba(18, 38, 63, 0.1);
  transform: translateY(-2px);
}

.user-activity-report .activity-stat-icon {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 58px;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.user-activity-report .activity-stat-icon i {
  font-size: 27px;
}

.user-activity-report .activity-stat-card span {
  color: #40516f;
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.user-activity-report .activity-stat-card strong {
  color: #111827;
  display: block;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  margin: 8px 0;
}

.user-activity-report .activity-stat-card small {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.user-activity-report .activity-stat-users .activity-stat-icon {
  background: #e4f2ff;
  color: #0d7de3;
}

.user-activity-report .activity-stat-users small {
  color: #42526e;
}

.user-activity-report .activity-stat-name .activity-stat-icon {
  background: #e4f5e9;
  color: #168d09;
}

.user-activity-report .activity-stat-name small,
.user-activity-report .activity-stat-wallet small {
  color: #168d09;
}

.user-activity-report .activity-stat-phone .activity-stat-icon {
  background: #eee6ff;
  color: #6f42c1;
}

.user-activity-report .activity-stat-phone small {
  color: #5f32bf;
}

.user-activity-report .activity-stat-miles .activity-stat-icon {
  background: #fff0dc;
  color: #f07c00;
}

.user-activity-report .activity-stat-miles small {
  color: #d96500;
}

.user-activity-report .activity-stat-wallet .activity-stat-icon {
  background: #e3f6ed;
  color: #14924d;
}

.user-activity-report .activity-table-card {
  overflow: hidden;
}

.user-activity-report .activity-table {
  margin-bottom: 0;
  min-width: 860px;
  vertical-align: middle;
}

.user-activity-report .activity-table thead th {
  background: #f5f8fc;
  border-bottom: 1px solid #e7edf4;
  color: #40516f;
  font-size: 12px;
  font-weight: 800;
  height: 54px;
  text-transform: uppercase;
  white-space: nowrap;
}

.user-activity-report .activity-table tbody td,
.user-activity-report .activity-table tfoot td {
  border-color: #edf1f6;
  color: #293a59;
  font-size: 14px;
  padding: 18px 22px;
  vertical-align: middle;
}

.user-activity-report .activity-table tbody tr:hover td {
  background: #fbfdff;
}

.user-activity-report .activity-value-pill,
.user-activity-report .activity-type-badge,
.user-activity-report .activity-action-badge,
.user-activity-report .activity-field-pill,
.user-activity-report .activity-before-pill,
.user-activity-report .activity-after-pill,
.user-activity-report .activity-by-badge {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  line-height: 1.2;
  padding: 8px 12px;
}

.user-activity-report .activity-value-pill.is-positive {
  background: #e7f6ec;
  color: #137b30;
}

.user-activity-report .activity-value-pill.is-neutral,
.user-activity-report .activity-before-pill {
  background: #eef2f7;
  color: #4b5b74;
}

.user-activity-report .activity-by-badge {
  background: #edf4ff;
  color: #28528f;
}

.user-activity-report .activity-user-cell {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 210px;
}

.user-activity-report .activity-user-cell strong {
  color: #111827;
  display: block;
  font-size: 14px;
  font-weight: 800;
}

.user-activity-report .activity-user-cell small {
  color: #536581;
  display: block;
  margin-top: 3px;
}

.user-activity-report .activity-avatar {
  align-items: center;
  background: #dbeafe;
  border-radius: 50%;
  color: #155fbd;
  display: inline-flex;
  flex: 0 0 42px;
  font-size: 16px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.user-activity-report .activity-type-badge.is-provider {
  background: #e8f0ff;
  color: #1d5fbf;
}

.user-activity-report .activity-type-badge.is-user {
  background: #e7f6ec;
  color: #137b30;
}

.user-activity-report .activity-type-badge.is-unknown,
.user-activity-report .activity-action-badge.is-action-unknown,
.user-activity-report .activity-field-pill {
  background: #eef2f7;
  color: #4b5b74;
}

.user-activity-report .activity-action-badge.is-wallet,
.user-activity-report .activity-after-pill {
  background: #e7f6ec;
  color: #137b30;
}

.user-activity-report .activity-action-badge.is-miles,
.user-activity-report .activity-action-badge.is-phone {
  background: #fff0dc;
  color: #c75f00;
}

.user-activity-report .activity-action-badge.is-name {
  background: #f0e8ff;
  color: #6f42c1;
}

.user-activity-report .activity-before-pill,
.user-activity-report .activity-after-pill {
  max-width: 260px;
  white-space: normal;
  word-break: break-word;
}

.user-activity-report .activity-date-cell {
  color: #40516f;
  display: inline-flex;
  flex-direction: column;
  min-width: 130px;
  white-space: nowrap;
}

.user-activity-report .activity-date-cell strong {
  color: #293a59;
  font-size: 13px;
  font-weight: 800;
}

.user-activity-report .activity-date-cell small {
  color: #66758f;
  font-size: 12px;
  margin-top: 3px;
}

.user-activity-report .activity-total-row td {
  background: #f4f8f6;
  border-top: 2px solid #b9d8c0;
  color: #111827;
  font-weight: 800;
}

.user-activity-report .activity-empty-state {
  align-items: center;
  color: #66758f;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  padding: 42px 16px;
  text-align: center;
}

.user-activity-report .activity-empty-state i {
  color: #9aa9bd;
  font-size: 34px;
}

.user-activity-report .activity-empty-state strong {
  color: #293a59;
  font-size: 16px;
}

[data-bs-theme="dark"] .user-activity-report {
  color: #dee2e6;
}

[data-bs-theme="dark"] .user-activity-report .activity-page-head h1,
[data-bs-theme="dark"] .user-activity-report .activity-stat-card strong,
[data-bs-theme="dark"] .user-activity-report .activity-user-cell strong,
[data-bs-theme="dark"] .user-activity-report .activity-date-cell strong,
[data-bs-theme="dark"] .user-activity-report .activity-empty-state strong {
  color: #dee2e6;
}

[data-bs-theme="dark"] .user-activity-report .activity-page-head p,
[data-bs-theme="dark"] .user-activity-report .activity-stat-card span,
[data-bs-theme="dark"] .user-activity-report .activity-user-cell small,
[data-bs-theme="dark"] .user-activity-report .activity-date-cell,
[data-bs-theme="dark"] .user-activity-report .activity-date-cell small,
[data-bs-theme="dark"] .user-activity-report .activity-empty-state {
  color: #adb5bd;
}

[data-bs-theme="dark"] .user-activity-report .activity-filter-card,
[data-bs-theme="dark"] .user-activity-report .activity-table-card,
[data-bs-theme="dark"] .user-activity-report .activity-stat-card {
  background: #212529;
  border-color: #495057;
  box-shadow: none;
}

[data-bs-theme="dark"] .user-activity-report .activity-filter-label,
[data-bs-theme="dark"] .user-activity-report .activity-field-label {
  color: #dee2e6;
}

[data-bs-theme="dark"] .user-activity-report .activity-select-wrap > i {
  color: #adb5bd;
}

[data-bs-theme="dark"] .user-activity-report .activity-select-wrap .form-control,
[data-bs-theme="dark"] .user-activity-report .activity-control {
  background-color: #343a40;
  border-color: #495057;
  color: #dee2e6;
}

[data-bs-theme="dark"] .user-activity-report .activity-select-wrap .form-control option {
  background: #343a40;
  color: #dee2e6;
}

[data-bs-theme="dark"] .user-activity-report .activity-table thead th,
[data-bs-theme="dark"] .user-activity-report .activity-table tbody td {
  background: #212529;
  border-color: #495057;
  color: #dee2e6;
}

[data-bs-theme="dark"] .user-activity-report .activity-table tbody tr:hover td {
  background: #343a40;
}

[data-bs-theme="dark"] .user-activity-report .activity-total-row td {
  background: #263329;
  border-top-color: #6fbc67;
  color: #dee2e6;
}

[data-bs-theme="dark"] .user-activity-report .activity-value-pill.is-positive,
[data-bs-theme="dark"] .user-activity-report .activity-action-badge.is-wallet,
[data-bs-theme="dark"] .user-activity-report .activity-after-pill,
[data-bs-theme="dark"] .user-activity-report .activity-type-badge.is-user {
  background: #263b2a;
  color: #b9e4b6;
}

[data-bs-theme="dark"] .user-activity-report .activity-value-pill.is-neutral,
[data-bs-theme="dark"] .user-activity-report .activity-before-pill,
[data-bs-theme="dark"] .user-activity-report .activity-field-pill,
[data-bs-theme="dark"] .user-activity-report .activity-type-badge.is-unknown,
[data-bs-theme="dark"] .user-activity-report .activity-action-badge.is-action-unknown {
  background: #343a40;
  color: #dee2e6;
}

[data-bs-theme="dark"] .user-activity-report .activity-by-badge,
[data-bs-theme="dark"] .user-activity-report .activity-type-badge.is-provider {
  background: #25334a;
  color: #b8d0ff;
}

[data-bs-theme="dark"] .user-activity-report .activity-action-badge.is-miles,
[data-bs-theme="dark"] .user-activity-report .activity-action-badge.is-phone {
  background: #442d15;
  color: #ffc078;
}

[data-bs-theme="dark"] .user-activity-report .activity-action-badge.is-name {
  background: #33284a;
  color: #d0bfff;
}

@media (max-width: 1200px) {
  .user-activity-report .activity-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .user-activity-report .activity-page-head {
    margin-bottom: 16px;
  }

  .user-activity-report .activity-page-head h1 {
    font-size: 24px;
  }

  .user-activity-report .activity-filter-card {
    padding: 16px;
  }

  .user-activity-report .activity-summary-grid {
    grid-template-columns: 1fr;
  }

  .user-activity-report .activity-stat-card {
    min-height: 112px;
  }
}

/* User activity report - regions page style */
.user-activity-report .activity-region-panel {
  background: #fff;
  border-radius: 5px;
  margin-bottom: 10px;
  padding: 10px;
}

.user-activity-report .activity-table-panel {
  padding: 0;
}

.user-activity-report .activity-search-title {
  text-align: center;
}

.user-activity-report .activity-apply-button {
  height: 35px;
  width: 100%;
}

.user-activity-report .activity-pagination-row {
  margin-bottom: 10px;
  margin-top: 10px;
}

.user-activity-report .activity-table-responsive {
  padding-bottom: 175px;
}

.user-activity-report .activity-summary-table-responsive {
  padding-bottom: 0;
}

.user-activity-report .activity-report-table {
  margin-bottom: 0;
}

.user-activity-report .activity-report-table thead th {
  background: #f1f4f8;
  color: #40516f;
  font-weight: 700;
  text-transform: uppercase;
}

.user-activity-report .activity-report-table tbody td,
.user-activity-report .activity-report-table tfoot td {
  color: #33415f;
  vertical-align: middle;
}

.user-activity-report .metric-pill {
  background: #e8f4ec;
  border-radius: 999px;
  color: #267a3d;
  display: inline-block;
  font-weight: 700;
  min-width: 38px;
  padding: 5px 12px;
  text-align: center;
}

.user-activity-report .metric-pill.neutral {
  background: #eef2f7;
  color: #475569;
}

.user-activity-report .activity-total-row td {
  border-top: 2px solid #d8dee8;
  font-weight: 700;
}

[data-bs-theme="dark"] .user-activity-report .activity-region-panel {
  background: #212529;
  border: 1px solid #495057;
  color: #dee2e6;
}

[data-bs-theme="dark"] .user-activity-report .activity-region-panel label,
[data-bs-theme="dark"] .user-activity-report .activity-report-table tbody td,
[data-bs-theme="dark"] .user-activity-report .activity-report-table tfoot td {
  color: #dee2e6;
}

[data-bs-theme="dark"] .user-activity-report .activity-region-panel .form-control {
  background: #15191d;
  border-color: #495057;
  color: #f8f9fa;
}

[data-bs-theme="dark"] .user-activity-report .activity-region-panel .form-control option {
  background: #15191d;
  color: #f8f9fa;
}

[data-bs-theme="dark"] .user-activity-report .activity-report-table thead th {
  background: #343a40;
  border-color: #495057;
  color: #dee2e6;
}

[data-bs-theme="dark"] .user-activity-report .activity-report-table tbody td,
[data-bs-theme="dark"] .user-activity-report .activity-report-table tfoot td {
  background: #212529;
  border-color: #495057;
}

[data-bs-theme="dark"] .user-activity-report .activity-total-row td {
  border-top-color: #6c757d;
}

.user-activity-report .activity-summary-cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 22px;
}

.user-activity-report .activity-summary-card {
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 5px;
  box-shadow: none;
  display: flex;
  gap: 14px;
  min-height: 110px;
  padding: 18px 20px;
}

.user-activity-report .activity-summary-card span {
  color: #415173;
  display: block;
  font-size: 12px;
  font-weight: 700;
}

.user-activity-report .activity-summary-card strong {
  color: #0f172a;
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  margin: 8px 0;
}

.user-activity-report .activity-summary-card small {
  display: block;
  font-size: 11px;
  font-weight: 700;
}

.user-activity-report .activity-summary-icon {
  align-items: center;
  border-radius: 50%;
  display: flex;
  flex: 0 0 50px;
  height: 50px;
  justify-content: center;
  width: 50px;
}

.user-activity-report .activity-summary-icon i {
  font-size: 24px;
}

.user-activity-report .activity-total-users .activity-summary-icon {
  background: #e4f2ff;
  color: #087ee5;
}

.user-activity-report .activity-total-users small {
  color: #415173;
}

.user-activity-report .activity-name-changes .activity-summary-icon,
.user-activity-report .activity-wallet-total .activity-summary-icon {
  background: #e4f5e9;
  color: #14924d;
}

.user-activity-report .activity-name-changes small,
.user-activity-report .activity-wallet-total small {
  color: #168d09;
}

.user-activity-report .activity-phone-changes .activity-summary-icon {
  background: #eee6ff;
  color: #6f42c1;
}

.user-activity-report .activity-phone-changes small {
  color: #4d26d9;
}

.user-activity-report .activity-miles-total .activity-summary-icon {
  background: #fff0dc;
  color: #f07c00;
}

.user-activity-report .activity-miles-total small {
  color: #e06500;
}

.user-activity-report .activity-table-panel {
  border: 0;
  border-radius: 5px;
  box-shadow: none;
  overflow: hidden;
}

.user-activity-report .activity-report-table thead th {
  height: auto;
  padding: 8px;
}

.user-activity-report .activity-report-table tbody td {
  height: auto;
  padding: 8px;
}

.user-activity-report .activity-report-table tfoot td {
  height: auto;
  padding: 8px;
}

.user-activity-report .activity-summary-user {
  align-items: center;
  display: flex;
  gap: 14px;
}

.user-activity-report .activity-summary-user > span {
  align-items: center;
  background: #dbeafe;
  border-radius: 50%;
  color: #1266d6;
  display: flex;
  flex: 0 0 34px;
  font-size: 14px;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.user-activity-report .activity-summary-user strong {
  color: #111827;
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.user-activity-report .activity-summary-user small {
  color: #42526e;
  display: block;
  font-size: 11px;
  margin-top: 3px;
}

.user-activity-report .activity-trend-icon {
  color: #168d09;
  font-size: 22px;
  font-weight: 800;
  margin-left: 16px;
  vertical-align: middle;
}

.user-activity-report .activity-dash {
  color: #40516f;
  display: inline-block;
  font-size: 22px;
  font-weight: 700;
  margin-left: 16px;
  vertical-align: middle;
}

[data-bs-theme="dark"] .user-activity-report .activity-summary-card {
  background: #212529;
  border: 0;
  box-shadow: none;
}

[data-bs-theme="dark"] .user-activity-report .activity-table-panel {
  border: 0;
  box-shadow: none;
}

[data-bs-theme="dark"] .user-activity-report .activity-summary-card span,
[data-bs-theme="dark"] .user-activity-report .activity-summary-user small,
[data-bs-theme="dark"] .user-activity-report .activity-dash {
  color: #adb5bd;
}

[data-bs-theme="dark"] .user-activity-report .activity-summary-card strong,
[data-bs-theme="dark"] .user-activity-report .activity-summary-user strong {
  color: #dee2e6;
}

.user-activity-report .activity-report-table .activity-total-row td {
  background: #f1f5f9;
  border-top: 0;
  color: #172033;
  font-weight: 800;
}

.user-activity-report .activity-report-table .activity-total-row td:first-child {
  border-bottom-left-radius: 5px;
  color: #0f172a;
}

.user-activity-report .activity-report-table .activity-total-row td:last-child {
  border-bottom-right-radius: 5px;
}

[data-bs-theme="dark"] .user-activity-report .activity-report-table .activity-total-row td {
  background: #2b3035;
  border-top: 0;
  color: #dee2e6;
}

@media (max-width: 1200px) {
  .user-activity-report .activity-summary-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .user-activity-report .activity-summary-cards {
    grid-template-columns: 1fr;
  }

  .user-activity-report .activity-summary-card {
    min-height: 112px;
  }
}

/* Keep degdeg order status colors visible in dark mode. The page sets these
   colors inline on <tr>, so this must come after the shared dark table rules. */
[data-bs-theme="dark"] .degdeg-orders-page #detail_table tbody tr[style*="#f87c7c8c"],
[data-bs-theme="dark"] .degdeg-orders-page #detail_table tbody tr[style*="#f87c7c8c"] > td {
    background: #e5979b !important;
    color: #344054 !important;
}

[data-bs-theme="dark"] .degdeg-orders-page #detail_table tbody tr[style*="#87CEFA"],
[data-bs-theme="dark"] .degdeg-orders-page #detail_table tbody tr[style*="#87CEFA"] > td {
    background: #87cefa !important;
    color: #1f2937 !important;
}

[data-bs-theme="dark"] .degdeg-orders-page #detail_table tbody tr[style*="#FFD700"],
[data-bs-theme="dark"] .degdeg-orders-page #detail_table tbody tr[style*="#FFD700"] > td {
    background: #ffd700 !important;
    color: #1f2937 !important;
}

[data-bs-theme="dark"] .degdeg-orders-page #detail_table tbody tr[style*="#f7d5f7"],
[data-bs-theme="dark"] .degdeg-orders-page #detail_table tbody tr[style*="#f7d5f7"] > td {
    background: #f7d5f7 !important;
    color: #344054 !important;
}

[data-bs-theme="dark"] .degdeg-orders-page #detail_table tbody tr[style*="linear-gradient"][style*="#f87c7c8c"],
[data-bs-theme="dark"] .degdeg-orders-page #detail_table tbody tr[style*="linear-gradient"][style*="#f87c7c8c"] > td {
    background: linear-gradient(rgba(255, 215, 0, 0.55), rgba(255, 215, 0, 0.55)), #e5979b !important;
    color: #344054 !important;
}

[data-bs-theme="dark"] .degdeg-orders-page #detail_table tbody tr[style*="linear-gradient"][style*="#87CEFA"],
[data-bs-theme="dark"] .degdeg-orders-page #detail_table tbody tr[style*="linear-gradient"][style*="#87CEFA"] > td {
    background: linear-gradient(rgba(255, 215, 0, 0.55), rgba(255, 215, 0, 0.55)), #87cefa !important;
    color: #1f2937 !important;
}
