:root {
    --bs-primary: #365347;
    --bs-primary-dark: #203b32;
    --bs-primary-deep: #162d27;
    --bs-primary-soft: #e5eee9;
    --bs-secondary: #a87955;
    --bs-secondary-dark: #7d563c;
    --bs-accent: #d6ad7b;
    --bs-page-bg: #f7f5f1;
    --bs-surface: #ffffff;
    --bs-surface-soft: #f0f4f1;
    --bs-control-bg: #eef3f0;
    --bs-border: #d8e0db;
    --bs-text: #26332f;
    --bs-text-muted: #68756f;
    --bs-success: #2f855a;
    --bs-warning: #c17a24;
    --bs-danger: #c94b4b;
    --bs-info: #487a82;
    --bs-overlay: rgba(255, 255, 255, 0.9);
    --bs-shadow: rgba(22, 45, 39, 0.14);
    --bs-white: #ffffff;
    /* Myfictionworld admin theme: change values here to reskin the panel. */
    --mfw-primary: #365347;
    --mfw-primary-dark: #203b32;
    --mfw-primary-deep: #162d27;
    --mfw-primary-soft: #e5eee9;
    --mfw-secondary: #a87955;
    --mfw-secondary-dark: #7d563c;
    --mfw-accent: #d6ad7b;
    --mfw-page-bg: #f7f5f1;
    --mfw-surface: #ffffff;
    --mfw-surface-soft: #f0f4f1;
    --mfw-control-bg: #eef3f0;
    --mfw-border: #d8e0db;
    --mfw-text: #26332f;
    --mfw-text-muted: #68756f;
    --mfw-success: #2f855a;
    --mfw-warning: #c17a24;
    --mfw-danger: #c94b4b;
    --mfw-info: #487a82;
    --mfw-overlay: rgba(255, 255, 255, 0.9);
    --mfw-shadow: rgba(22, 45, 39, 0.14);
    --mfw-white: #ffffff;
}

.mfw-hide-mayuresh .mayureshD-none {
    display: none !important;
}

.mfw-hidden {
    display: none;
}

.mfw-dashboard-search {
    width: 16.5rem;
}

.mfw-empty-state-image {
    width: 7rem;
}

.mfw-grocery-page .mfw-grocery-output {
    margin-top: 0;
    padding: 1rem 0;
    background-color: var(--mfw-surface);
}

.mfw-grocery-page .dataTables_length {
    margin-top: 3rem !important;
}

.mfw-grocery-page .form-control {
    max-width: 100% !important;
}

.mfw-grocery-page .chosen-container.chosen-container-single {
    width: 100% !important;
}

tr.main_cat {
    color: var(--mfw-text);
    background-color: var(--mfw-primary-soft);
}

/* ---------  Mayuresh Custom Scrollbar ---------  */


/* Track */

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px var(--mfw-shadow);
    background-color: var(--mfw-surface-soft);
    /*border-radius: 10px;*/
}


/* width */

::-webkit-scrollbar {
    width: 10px;
    background-color: var(--mfw-surface-soft);
}


/* Handle */

::-webkit-scrollbar-thumb {
    background: var(--mfw-primary);
}


/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
    background: var(--mfw-secondary);
}


/* ---------  Mayuresh Custom Scrollbar End ---------  */


/*------------------------------------not responsive start---------------------*/

.chosen-container-single .chosen-single {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--mfw-surface);
    background-clip: padding-box;
    -webkit-box-shadow: 0 0 3px #fff inset, 0 1px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 3px #fff inset, 0 1px 1px rgba(0, 0, 0, 0.1);
    color: #444;
    text-decoration: none;
    white-space: nowrap;
    width: 100%;
    height: calc(1.5em + 1rem + 2px);
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--mfw-text-muted);
    border: 1px solid var(--mfw-border);
    border-radius: 0.35rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    background-color: var(--mfw-control-bg);
    border-color: var(--mfw-control-bg);
}

.chosen-container .chosen-drop {
    -webkit-box-shadow: none;
    box-shadow: none;
    clip: rect(0, 0, 0, 0);
    -webkit-clip-path: none;
    clip-path: inset(100% 100%);
}

.chosen-container-active.chosen-with-drop .chosen-single {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #eee), color-stop(80%, #fff));
    background-image: linear-gradient(#fffffff7 20%, #fff 80%);
    -webkit-box-shadow: 0 1px 0 #fff inset;
    box-shadow: none;
}

.chosen-container-multi .chosen-choices {
    position: relative;
    display: block;
    overflow: hidden;
    height: auto;
    background: var(--mfw-surface);
    background-clip: padding-box;
    -webkit-box-shadow: 0 0 3px #fff inset, 0 1px 1px rgb(0 0 0 / 10%);
    box-shadow: 0 0 3px #fff inset, 0 1px 1px rgb(0 0 0 / 10%);
    color: #444;
    text-decoration: none;
    white-space: nowrap;
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--mfw-text-muted);
    border: 1px solid var(--mfw-border);
    border-radius: 0.35rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    background-color: var(--mfw-control-bg);
    border-color: var(--mfw-control-bg);
}

.chosen-container-multi .chosen-choices li.search-choice span {
    word-wrap: break-word;
    font-size: 12px;
}

#pageloader {
    background-color: var(--mfw-overlay);
    height: 100%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999999;
}


/* Center the loader */

#loader {
    position: absolute;
    left: 50%;
    top: 20%;
    z-index: 9999999999;
    width: 65px;
    height: 65px;
    margin: -75px 0 0 -75px;
    border: 10px solid #f3f3f3;
    border-radius: 50%;
    border-top: 10px solid var(--mfw-primary);
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

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

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

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


/* Add animation to "page content" */

.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
}

@-webkit-keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }

    to {
        bottom: 0px;
        opacity: 1
    }
}

@keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}


/*//input number filed stop*/

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
} 

.sweet-alert.showSweetAlert.visible h2 {
    margin-top: 2rem;
}

.sweet-alert.showSweetAlert.visible {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.has-error {
    font-size: 0.8rem;
    color: var(--mfw-danger);
}

.btn svg {
    margin-right: 4px;
}

.row.gallery_img_row {
    height: 445px;
    overflow: hidden;
    overflow-y: auto;
}

.col-md-10.col-xs-10.mt1 img.gallery_img {
    width: 100%;
    margin-bottom: 1rem;
}

.btn {
    margin: 0.2rem;
}

.table-bordered {
    border: 1px solid #e3e6ec;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #e3e6ec;
}

.formloader_line {
    background-color: #111;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: flex-start;
    z-index: 100000;
}

.formloader_line__element {
    height: 3px;
    width: 100%;
    background: var(--mfw-primary-soft);
}

.formloader_line__element:before {
    content: "";
    display: block;
    background-color: var(--mfw-primary);
    height: 3px;
    width: 0;
    animation: getWidth 3s ease-in infinite;
}

.loader_line {
    background-color: var(--mfw-overlay);
    width: 100%;
    /*height: 100%;*/
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: flex-start;
    z-index: 99999999;
}

.loader_line__element {
    height: 5px;
    width: 100%;
    background: var(--mfw-primary-soft);
}

.loader_line__element:before {
    content: "";
    display: block;
    background-color: var(--mfw-primary);
    height: 5px;
    width: 0;
    animation: getWidth 3s ease-in infinite;
}

@keyframes getWidth {
    100% {
        width: 100%;
    }
}

footer.footer.mt-auto.footer-light {
    background: var(--mfw-surface-soft);
}

.topnav .navbar-brand img {
    height: 2rem;
}

div#toast-container {
    z-index: 99999999999999;
}

.card.p-3 label {
    width: 100%;
}

.logoRegSection {
    background: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
    padding: 10px !important;
    margin-top: 10px;
    border-radius: 0.35rem;
}

span.checkSts svg {
    color: var(--mfw-success) !important;
}

sup.text-danger.asteriskSup svg {
    font-size: 6px;
}

p.regErrorSc {
    margin-bottom: 0px;
}

.alert.makeScrollDivError {
    height: 200px;
    overflow: hidden;
    overflow-y: auto;
}

/* Track */
.alert.makeScrollDivError::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px var(--mfw-shadow);
    background-color: var(--mfw-surface-soft);
    /*border-radius: 10px;*/
}

/* width */
.alert.makeScrollDivError::-webkit-scrollbar {
    width: 5px;
    background-color: var(--mfw-surface-soft);
}

/* Handle */
.alert.makeScrollDivError::-webkit-scrollbar-thumb {
    background: var(--mfw-primary);
}

/* Handle on hover */
.alert.makeScrollDivError::-webkit-scrollbar-thumb:hover {
    background: var(--mfw-secondary);
}

@-webkit-keyframes blinker {
    from {
        opacity: 1.0;
    }

    to {
        opacity: 0.0;
    }
}

.blink {
    text-decoration: blink;
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 0.6s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-direction: alternate;
}

span.tooltipClass,
.tooltipSts {
    cursor: help;
}

.table-responsive.dataTBF {
    padding: 10px;
    border: 1px solid #d6d6d6;
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.dropzone .dz-preview .dz-progress {
    background: rgb(135 135 135 / 90%) !important;
}

.dropzone .dz-preview .dz-progress .dz-upload {
    background: linear-gradient(to bottom, var(--mfw-primary), var(--mfw-primary-dark)) !important;
}

.sa-icon.sa-success.animate {
    margin-bottom: 2rem !important;
}

/**
 * ==============================================
 * Dot Pulse
 * ==============================================
 */
.dot-pulse {
    position: relative;
    left: -9999px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: var(--mfw-secondary);
    color: var(--mfw-secondary);
    box-shadow: 9999px 0 0 -5px var(--mfw-secondary);
    animation: dotPulse 1.5s infinite linear;
    animation-delay: .25s;
}

.dot-pulse::before,
.dot-pulse::after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: var(--mfw-secondary);
    color: var(--mfw-secondary);
}

.dot-pulse::before {
    box-shadow: 9984px 0 0 -5px var(--mfw-secondary);
    animation: dotPulseBefore 1.5s infinite linear;
    animation-delay: 0s;
}

.dot-pulse::after {
    box-shadow: 10014px 0 0 -5px var(--mfw-secondary);
    animation: dotPulseAfter 1.5s infinite linear;
    animation-delay: .5s;
}

@keyframes dotPulseBefore {
    0% {
        box-shadow: 9984px 0 0 -5px var(--mfw-secondary);
    }

    30% {
        box-shadow: 9984px 0 0 2px var(--mfw-secondary);
    }

    60%,
    100% {
        box-shadow: 9984px 0 0 -5px var(--mfw-secondary);
    }
}

@keyframes dotPulse {
    0% {
        box-shadow: 9999px 0 0 -5px var(--mfw-secondary);
    }

    30% {
        box-shadow: 9999px 0 0 2px var(--mfw-secondary);
    }

    60%,
    100% {
        box-shadow: 9999px 0 0 -5px var(--mfw-secondary);
    }
}

@keyframes dotPulseAfter {
    0% {
        box-shadow: 10014px 0 0 -5px var(--mfw-secondary);
    }

    30% {
        box-shadow: 10014px 0 0 2px var(--mfw-secondary);
    }

    60%,
    100% {
        box-shadow: 10014px 0 0 -5px var(--mfw-secondary);
    }
}

.wrapCompanyImgDiv {
    width: 120px;
    height: 120px;
    position: relative;
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 120px;
}

span.smallShowMsg {
    font-size: 12px;
    color: red;
}

/* Track */
.dataTables_scrollBody::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px var(--mfw-shadow);
    background-color: var(--mfw-surface-soft);
    /*border-radius: 10px;*/
}

/* width */
.dataTables_scrollBody::-webkit-scrollbar {
    width: 10px;
    background-color: var(--mfw-surface-soft);
}

/* Handle */
.dataTables_scrollBody::-webkit-scrollbar-thumb {
    background: var(--mfw-primary);
}

/* Handle on hover */
.dataTables_scrollBody::-webkit-scrollbar-thumb:hover {
    background: var(--mfw-secondary);
}

input#background_color {
    padding: 5px !important;
}

div#dataTableServer_wrapper {
    font-size: 14px;
}

.table> :not(caption)>*>*,
.dataTable-table> :not(caption)>*>* {
    padding: 5px;
}

table.dataTable,
table.dataTable tr th,
table.dataTable tr td {
    font-size: 12px;
}

table.dataTable thead>tr>th.sorting_asc,
table.dataTable thead>tr>th.sorting_desc,
table.dataTable thead>tr>th.sorting,
table.dataTable thead>tr>td.sorting_asc,
table.dataTable thead>tr>td.sorting_desc,
table.dataTable thead>tr>td.sorting {
    padding-right: 15px;
}
.datatable .btn {
    padding: 0.5rem 0.5rem;
}
.datatable a.btn svg {
    margin-right: 0;
}

.btn-datatable {
    height: 25px !important;
    width: 25px !important;
    font-size: 0.75rem;
    border-radius: 0.35rem !important;
} 
img.comlogoIMGMID {
    width: 100%;
    background: white;
    border: 1px solid #000;
}
.imagSideNav {
    height: 97px;
    width: 190px;
    padding: 5px;
    margin: 0 auto;
    background: #fff;
    margin-top: 1rem;
}
.sa-button-container {
    margin-top: 2rem!important;
}
.sa-button-container .btn-default {
    color: #fff;
    background-color: #959595;
    border-color: #9e9796;
}
.order_status_check {
    cursor: pointer;
}
.ms-options-wrap > button:focus, .ms-options-wrap > button {
    position: relative;
    width: 100%;
    text-align: left;  
    margin-top: 1px; 
    outline: none;
    white-space: nowrap;
    display: block;
    width: 100%;
    padding: 0.875rem 1.125rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1;
    color: #69707a;
    background-color: var(--mfw-control-bg); 
    background-clip: padding-box;
    border: 1px solid var(--mfw-control-bg);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.35rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.ms-options-wrap > .ms-options > ul label {
    position: relative;
    display: inline-block;
    width: 100%;
    padding: 4px 4px;
    margin: 1px 0;
}
.ms-options-wrap > .ms-options > ul input[type="checkbox"] {
    margin-right: 5px;
    position: absolute;
    left: 4px;
    top: 10px;
}
.ms-options-wrap > .ms-options li {
    list-style: unset;
    list-style-type: none;
}
.ms-options-wrap > .ms-options ul {
    padding-left: 0rem; 
}
.avatar {
    position: relative;
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border-radius: 0.3125rem;
} 
.selectize-input { 
    background-color: var(--mfw-control-bg);
    border-color: var(--mfw-control-bg);
}
.selectize-input.full { 
    background-color: var(--mfw-control-bg);
    border-color: var(--mfw-control-bg);
}
.selectize-input { 
    padding: 0.675rem 1.125rem; 
}
.singleDivSID {
    cursor: move;
}
/* --------- Myfictionworld Shared Admin Theme --------- */
body:not(.mfw-login-page) {
    background-color: var(--mfw-page-bg);
    color: var(--mfw-text);
}

.topnav.navbar-light {
    background-color: var(--mfw-surface) !important;
    border-bottom: 1px solid var(--mfw-border);
}

.topnav .navbar-brand {
    color: #fff!important;
    font-weight: 700;
}

.sidenav-dark {
    background-color: var(--mfw-primary-deep);
    color: var(--mfw-white);
}

.sidenav-dark .sidenav-menu .sidenav-menu-heading,
.sidenav-dark .sidenav-footer-subtitle {
    color: rgba(255, 255, 255, 0.56);
}

.sidenav-dark .sidenav-menu .nav-link {
    color: rgba(255, 255, 255, 0.78);
}

.sidenav-dark .sidenav-menu .nav-link .nav-link-icon,
.sidenav-dark .sidenav-menu .nav-link .sidenav-collapse-arrow {
    color: rgba(255, 255, 255, 0.82);
}

.sidenav-dark .sidenav-menu .nav-link .nav-link-icon i,
.sidenav-dark .sidenav-menu .nav-link .nav-link-icon svg,
.sidenav-dark .sidenav-menu .nav-link .nav-link-icon .feather,
.sidenav-dark .sidenav-menu .nav-link .sidenav-collapse-arrow i,
.sidenav-dark .sidenav-menu .nav-link .sidenav-collapse-arrow svg {
    color: rgba(255, 255, 255, 0.9);
    stroke: currentColor;
    fill: none;
    opacity: 1;
}

.sidenav-dark .sidenav-menu .nav-link:hover,
.sidenav-dark .sidenav-menu .nav-link.active {
    color: var(--mfw-white);
    background-color: rgba(255, 255, 255, 0.08);
}

.sidenav-dark .sidenav-menu .nav-link:hover .nav-link-icon,
.sidenav-dark .sidenav-menu .nav-link.active .nav-link-icon,
.sidenav-dark .sidenav-menu .nav-link:hover .sidenav-collapse-arrow,
.sidenav-dark .sidenav-menu .nav-link.active .sidenav-collapse-arrow {
    color: var(--mfw-white);
}

.sidenav-dark .sidenav-menu .nav-link:hover .nav-link-icon i,
.sidenav-dark .sidenav-menu .nav-link:hover .nav-link-icon svg,
.sidenav-dark .sidenav-menu .nav-link.active .nav-link-icon i,
.sidenav-dark .sidenav-menu .nav-link.active .nav-link-icon svg,
.sidenav-dark .sidenav-menu .nav-link:hover .sidenav-collapse-arrow i,
.sidenav-dark .sidenav-menu .nav-link:hover .sidenav-collapse-arrow svg,
.sidenav-dark .sidenav-menu .nav-link.active .sidenav-collapse-arrow i,
.sidenav-dark .sidenav-menu .nav-link.active .sidenav-collapse-arrow svg {
    color: var(--mfw-accent);
    stroke: currentColor;
    fill: none;
}

.sidenav-dark .sidenav-footer {
    background-color: rgba(0, 0, 0, 0.14);
}

.topnav.navbar-dark .navbar-nav .nav-item,
.topnav.navbar-dark .navbar-nav .nav-link,
.topnav.navbar-dark .btn-transparent-dark,
.topnav.navbar-dark .btn-transparent-light {
    color: rgba(255, 255, 255, 0.9);
}

.topnav.navbar-dark .btn-transparent-dark i,
.topnav.navbar-dark .btn-transparent-dark svg,
.topnav.navbar-dark .btn-transparent-light i,
.topnav.navbar-dark .btn-transparent-light svg {
    color: var(--mfw-white);
    stroke: currentColor;
}

.bg-gradient-primary-to-secondary {
    background-color: var(--mfw-primary) !important;
    background-image: linear-gradient(135deg, var(--mfw-primary-dark) 0%, var(--mfw-primary) 58%, var(--mfw-secondary) 100%) !important;
}

.btn-primary {
    color: var(--mfw-white);
    background-color: var(--mfw-primary);
    border-color: var(--mfw-primary);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    color: var(--mfw-white);
    background-color: var(--mfw-primary-dark);
    border-color: var(--mfw-primary-dark);
}

.btn-secondary {
    color: var(--mfw-white);
    background-color: var(--mfw-secondary);
    border-color: var(--mfw-secondary);
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.active {
    color: var(--mfw-white);
    background-color: var(--mfw-secondary-dark);
    border-color: var(--mfw-secondary-dark);
}

.btn-outline-secondary {
    color: var(--mfw-secondary-dark);
    border-color: var(--mfw-secondary);
    background-color: transparent;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active,
.btn-outline-secondary.active {
    color: var(--mfw-white);
    background-color: var(--mfw-secondary);
    border-color: var(--mfw-secondary);
}

.btn-outline-primary {
    color: var(--mfw-primary-dark);
    border-color: var(--mfw-primary);
    background-color: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active {
    color: var(--mfw-white);
    background-color: var(--mfw-primary);
    border-color: var(--mfw-primary);
}

.btn-outline-dark {
    color: var(--mfw-primary-dark);
    border-color: var(--mfw-border);
    background-color: transparent;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus,
.btn-outline-dark:active,
.btn-outline-dark.active {
    color: var(--mfw-white);
    background-color: var(--mfw-primary-dark);
    border-color: var(--mfw-primary-dark);
}

.text-primary,
a {
    color: var(--mfw-primary);
}

a:hover {
    color: var(--mfw-secondary-dark);
}

.bg-primary-soft,
.btn-primary-soft {
    background-color: var(--mfw-primary-soft) !important;
    color: var(--mfw-primary-dark) !important;
}

.card,
.dropdown-menu,
.modal-content {
    border-color: var(--mfw-border);
}

.form-control:focus,
.dataTable-input:focus,
.form-select:focus {
    border-color: var(--mfw-secondary);
    box-shadow: 0 0 0 0.2rem rgba(168, 121, 85, 0.18);
}

.pagination .page-item.active .page-link,
.dataTable-pagination .active a {
    color: var(--mfw-white);
    background-color: var(--mfw-primary);
    border-color: var(--mfw-primary);
}

.table-bordered,
.table-bordered th,
.table-bordered td {
    border-color: var(--mfw-border);
}

.footer-admin.footer-light {
    background-color: var(--mfw-surface-soft);
    color: var(--mfw-text-muted);
}
/*------------------------------------ eOf not responsive---------------------*/

@media (min-width: 481px) and (max-width: 767px) {
    /*//CSS*/
}


/*//eOF min-width: 481px*/


/* 
      ##Device = Most of the Smartphones Mobiles (Portrait)
      ##Screen = B/w 320px to 479px
    */

@media (min-width: 320px) and (max-width: 480px) {

    /* //CSS*/
    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        font-size: 12px !important;
    }

    .page-link,
    .dataTable-pagination a {
        padding: 0.375rem 0.45rem !important;
    }

    .table span.dtr-data .btn {
        padding: 15px !important;
    }

    div.dataTables_wrapper div.dataTables_length,
    div.dataTables_wrapper div.dataTables_filter,
    div.dataTables_wrapper div.dataTables_info,
    div.dataTables_wrapper div.dataTables_paginate {
        text-align: center;
        font-size: 8px !important;
    }

    .page-header .page-header-content .page-header-title {
        font-size: 1.25rem !important;
    }
}

/*//eOF min-width: 320px*/

/* --------- Myfictionworld Admin Login --------- */

nav#sidenavAccordion {
    background: linear-gradient(135deg, rgba(24, 42, 37, 0.98), rgba(54, 83, 71, 0.98) 55%, rgba(168, 121, 85, 0.88));
}

.mfw-login-page {
   min-height: 100vh;
   margin: 0;
   color: var(--mfw-text);
   background:
      radial-gradient(circle at 12% 18%, rgba(155, 231, 197, 0.46), transparent 28%),
      radial-gradient(circle at 82% 8%, rgba(155, 106, 60, 0.24), transparent 24%),
      linear-gradient(135deg, #f9f7ef 0%, #e7eee9 52%, #d6e3db 100%);
   overflow-x: hidden;
}

.mfw-login-shell {
   position: relative;
   min-height: 100vh;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 42px 18px;
}

.mfw-login-shell::before,
.mfw-login-shell::after {
   content: "";
   position: absolute;
   border-radius: 999px;
   pointer-events: none;
}

.mfw-login-shell::before {
   width: 440px;
   height: 440px;
   left: -180px;
   bottom: -160px;
   background: rgba(54, 83, 71, 0.14);
}

.mfw-login-shell::after {
   width: 260px;
   height: 260px;
   right: 7%;
   top: 10%;
   border: 1px solid rgba(54, 83, 71, 0.18);
   background: rgba(255, 255, 255, 0.2);
}

.mfw-login-card {
   position: relative;
   z-index: 1;
   width: min(1080px, 100%);
   min-height: 640px;
   display: grid;
   grid-template-columns: 1.05fr 0.95fr;
   overflow: hidden;
   border: 1px solid rgba(255, 255, 255, 0.72);
   border-radius: 36px;
   background: rgba(255, 255, 255, 0.76);
   box-shadow: 0 34px 110px rgba(32, 56, 47, 0.22);
   backdrop-filter: blur(20px);
}

.mfw-login-hero {
   position: relative;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   min-height: 640px;
   padding: 48px;
   color: var(--mfw-white);
   background:
      linear-gradient(145deg, rgba(18, 34, 28, 0.98), rgba(54, 83, 71, 0.86)),
      url("../../images/home-banner1.jpg") center/cover no-repeat;
}

.mfw-login-hero::after {
   content: "";
   position: absolute;
   inset: 0;
   background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.42)),
      radial-gradient(circle at 78% 26%, rgba(155, 231, 197, 0.3), transparent 26%);
}

.mfw-login-hero > * {
   position: relative;
   z-index: 1;
}

.mfw-brand-chip {
   display: inline-flex;
   align-items: center;
   gap: 12px;
   width: fit-content;
   padding: 10px 16px;
   border: 1px solid rgba(255, 255, 255, 0.28);
   border-radius: 999px;
   background: rgba(255, 255, 255, 0.12);
   backdrop-filter: blur(12px);
   font-weight: 800;
   letter-spacing: 0.02em;
}

.mfw-brand-chip img {
   width: 34px;
   height: 34px;
   object-fit: contain;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.92);
   padding: 5px;
}

.mfw-hero-title {
   max-width: 500px;
   margin: 0;
   color: var(--mfw-white);
   text-shadow: 0 4px 26px rgba(0, 0, 0, 0.42);
   font-size: clamp(2.3rem, 5vw, 4.7rem);
   line-height: 0.96;
   font-weight: 900;
   letter-spacing: -0.06em;
}

.mfw-hero-copy {
   max-width: 430px;
   margin: 22px 0 0;
   color: rgba(255, 255, 255, 0.86);
   font-size: 1.05rem;
   line-height: 1.7;
}

.mfw-hero-points {
   display: grid;
   gap: 12px;
   margin-top: 36px;
}

.mfw-point {
   display: flex;
   align-items: center;
   gap: 12px;
   padding: 15px 16px;
   border: 1px solid rgba(255, 255, 255, 0.22);
   border-radius: 18px;
   background: rgba(255, 255, 255, 0.11);
}

.mfw-point i {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   flex: 0 0 34px;
   width: 34px;
   height: 34px;
   border-radius: 50%;
   color: var(--mfw-primary-dark);
   background: rgba(255, 255, 255, 0.82);
}

.mfw-point strong {
   display: block;
   color: var(--mfw-white);
   font-size: 0.95rem;
   line-height: 1.25;
}

.mfw-point span {
   display: block;
   margin-top: 3px;
   color: rgba(255, 255, 255, 0.72);
   font-size: 0.8rem;
}

.mfw-login-form-panel {
   display: flex;
   align-items: center;
   padding: 48px;
   background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.66)),
      radial-gradient(circle at 80% 18%, rgba(155, 231, 197, 0.22), transparent 28%);
}

.mfw-form-wrap {
   width: 100%;
}

.mfw-form-kicker {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   padding: 8px 12px;
   border-radius: 999px;
   color: var(--mfw-primary);
   background: rgba(54, 83, 71, 0.09);
   font-weight: 800;
   font-size: 0.78rem;
   text-transform: uppercase;
   letter-spacing: 0.08em;
}

.mfw-form-title {
   margin: 20px 0 8px;
   color: var(--mfw-text);
   font-size: clamp(2rem, 4vw, 3.1rem);
   line-height: 1.04;
   font-weight: 900;
   letter-spacing: -0.055em;
}

.mfw-form-subtitle {
   margin: 0 0 32px;
   color: var(--mfw-text-muted);
   line-height: 1.7;
}

.mfw-field {
   position: relative;
   margin-bottom: 18px;
}

.mfw-field label {
   display: block;
   margin-bottom: 8px;
   color: var(--mfw-primary-dark);
   font-size: 0.84rem;
   font-weight: 800;
   letter-spacing: 0.02em;
}

.mfw-field .mfw-input-icon {
   position: absolute;
   left: 18px;
   bottom: 17px;
   color: var(--mfw-primary);
   opacity: 0.82;
}

.mfw-field input {
   width: 100%;
   min-height: 58px;
   padding: 15px 18px 15px 48px;
   border: 1px solid var(--mfw-border);
   border-radius: 18px;
   color: var(--mfw-text);
   background: rgba(255, 255, 255, 0.8);
   font-weight: 700;
   outline: none;
   transition: 0.2s ease;
}

.mfw-field input:focus {
   border-color: rgba(54, 83, 71, 0.64);
   box-shadow: 0 0 0 4px rgba(54, 83, 71, 0.11);
   background: var(--mfw-white);
}

.mfw-login-button {
   width: 100%;
   min-height: 58px;
   margin-top: 8px;
   border: 0;
   border-radius: 18px;
   color: var(--mfw-white);
   background: linear-gradient(135deg, var(--mfw-primary-dark), var(--mfw-primary));
   box-shadow: 0 18px 34px rgba(32, 56, 47, 0.28);
   font-weight: 900;
   letter-spacing: 0.02em;
   transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mfw-login-button:hover {
   transform: translateY(-2px);
   box-shadow: 0 22px 42px rgba(32, 56, 47, 0.34);
}

.mfw-form-footer {
   margin-top: 22px;
   padding-top: 22px;
   border-top: 1px solid var(--mfw-border);
   color: var(--mfw-text-muted);
   font-size: 0.86rem;
   text-align: center;
}

.mfw-form-footer strong {
   color: var(--mfw-primary);
}

/* --------- Role Permission Builder --------- */
.mfw-role-card .card-header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   background: linear-gradient(135deg, var(--mfw-surface), var(--mfw-primary-soft));
   border-bottom-color: var(--mfw-border);
}

.mfw-card-title {
   color: var(--mfw-text);
   font-size: 1rem;
   font-weight: 800;
   line-height: 1.25;
}

.mfw-card-subtitle {
   margin-top: 0.2rem;
   color: var(--mfw-text-muted);
   font-size: 0.78rem;
   line-height: 1.45;
}

.mfw-form-label {
   color: var(--mfw-primary-dark);
   font-weight: 800;
   letter-spacing: 0.01em;
}

.mfw-permission-head {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 1rem;
   margin-bottom: 1rem;
   padding: 0.9rem 1rem;
   border: 1px solid var(--mfw-border);
   border-radius: 0.85rem;
   background: var(--mfw-surface-soft);
}

.mfw-permission-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   gap: 0.9rem;
}

.mfw-permission-card {
   padding: 0.9rem;
   border: 1px solid var(--mfw-border);
   border-radius: 1rem;
   background: var(--mfw-surface);
   box-shadow: 0 12px 28px rgba(22, 45, 39, 0.06);
}

.mfw-permission-card-top {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 0.75rem;
   margin-bottom: 0.75rem;
   padding-bottom: 0.65rem;
   border-bottom: 1px solid var(--mfw-border);
}

.mfw-permission-module {
   color: var(--mfw-primary-dark);
   font-size: 0.95rem;
   font-weight: 900;
}

.mfw-permission-all,
.mfw-permission-chip {
   display: inline-flex;
   align-items: center;
   gap: 0.45rem;
   margin: 0;
   cursor: pointer;
   user-select: none;
}

.mfw-permission-all {
   padding: 0.35rem 0.65rem;
   border: 1px solid rgba(54, 83, 71, 0.18);
   border-radius: 999px;
   color: var(--mfw-primary-dark);
   background: var(--mfw-primary-soft);
   font-size: 0.78rem;
   font-weight: 800;
}

.mfw-permission-actions {
   display: flex;
   flex-wrap: wrap;
   gap: 0.5rem;
}

.mfw-permission-chip {
   padding: 0.42rem 0.65rem;
   border: 1px solid var(--mfw-border);
   border-radius: 999px;
   color: var(--mfw-text);
   background: var(--mfw-surface-soft);
   font-size: 0.78rem;
   font-weight: 700;
}

.mfw-permission-chip:has(input:checked),
.mfw-permission-all:has(input:checked) {
   border-color: rgba(54, 83, 71, 0.32);
   color: var(--mfw-white);
   background: var(--mfw-primary);
}

.mfw-permission-chip input,
.mfw-permission-all input {
   accent-color: var(--mfw-primary);
}

.mfw-permission-empty {
   color: var(--mfw-text-muted);
   font-size: 0.8rem;
}

.hm_id_select > .row {
   display: inline-flex;
   width: min(100%, 520px);
   margin: 0 0.65rem 0.65rem 0 !important;
   padding: 0.8rem;
   vertical-align: top;
   border: 1px solid var(--mfw-border);
   border-radius: 1rem;
   background: var(--mfw-surface);
   box-shadow: 0 12px 28px rgba(22, 45, 39, 0.06);
}

.hm_id_select > .row > .col-md-8 {
   flex: 0 0 100%;
   max-width: 100%;
}

.hm_id_select > .row b {
   color: var(--mfw-primary-dark);
   font-size: 0.95rem;
}

.hm_id_select > .row .col-md-12 {
   margin-top: 0.35rem;
   font-size: 0.8rem;
}

@media (max-width: 991px) {
   .mfw-login-card {
      grid-template-columns: 1fr;
   }

   .mfw-login-hero {
      min-height: 360px;
      padding: 34px;
   }

   .mfw-login-form-panel {
      padding: 34px;
   }
}

@media (max-width: 575px) {
   .mfw-login-shell {
      padding: 16px;
   }

   .mfw-login-card {
      border-radius: 26px;
   }

   .mfw-login-hero,
   .mfw-login-form-panel {
      padding: 26px;
   }
}

/* --------- Role Permission Builder Clean Layout --------- */
.mfw-role-card {
   border: 1px solid var(--mfw-border);
   border-radius: 0.75rem;
   box-shadow: none;
}

.mfw-role-card .card-header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 1rem 1.25rem;
   background: var(--mfw-surface);
   border-bottom: 1px solid var(--mfw-border);
}

.mfw-role-title {
   margin: 0;
   color: var(--mfw-text);
   font-size: 1.05rem;
   font-weight: 900;
   letter-spacing: -0.01em;
}

.mfw-role-back-btn {
   padding: 0.45rem 0.85rem;
   border-radius: 999px;
   color: var(--mfw-primary-dark);
   background: var(--mfw-primary-soft);
   font-size: 0.72rem;
   font-weight: 800;
}

.mfw-role-card .card-body {
   padding: 1.25rem;
}

.mfw-role-card .sbp-preview,
.mfw-role-card .sbp-preview-content {
   border: 0;
   padding: 0;
}

.mfw-role-card .form-control {
   min-height: 2.55rem;
   border-color: var(--mfw-border);
   border-radius: 0.55rem;
   background: var(--mfw-surface);
}

.mfw-role-card .mfw-form-label {
   display: block;
   margin-bottom: 0.55rem;
   color: var(--mfw-text);
   font-size: 0.8rem;
   font-weight: 900;
}

.mfw-role-card .mfw-permission-grid {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 0.8rem;
}

.mfw-role-card .mfw-permission-card {
   min-height: 7.8rem;
   padding: 0.9rem 1rem;
   border: 1px solid #dfcddd;
   border-radius: 0.65rem;
   background: #fffafd;
   box-shadow: none;
}

.mfw-role-card .mfw-permission-card-top {
   display: block;
   margin: 0 0 0.35rem;
   padding: 0;
   border: 0;
}

.mfw-role-card .mfw-permission-module {
   display: inline-flex;
   align-items: center;
   gap: 0.45rem;
   margin: 0;
   color: var(--mfw-text);
   font-size: 0.82rem;
   font-weight: 900;
   cursor: pointer;
}

.mfw-role-card .mfw-permission-module input,
.mfw-role-card .mfw-permission-chip input,
.mfw-role-card .mfw-permission-all input {
   width: 0.8rem;
   height: 0.8rem;
   margin: 0;
   accent-color: var(--mfw-primary);
}

.mfw-role-card .mfw-permission-actions {
   display: grid;
   grid-template-columns: 1fr;
   gap: 0.35rem;
   padding-left: 1.55rem;
}

.mfw-role-card .mfw-permission-actions::before {
   content: "Parent permission";
   display: block;
   margin: 0 0 0.1rem;
   color: var(--mfw-text-muted);
   font-size: 0.68rem;
   font-weight: 600;
}

.mfw-role-card .mfw-permission-chip {
   display: inline-flex;
   align-items: center;
   gap: 0.45rem;
   width: fit-content;
   padding: 0;
   border: 0;
   border-radius: 0;
   color: var(--mfw-text);
   background: transparent;
   font-size: 0.75rem;
   font-weight: 500;
}

.mfw-role-card .mfw-permission-chip:has(input:checked),
.mfw-role-card .mfw-permission-all:has(input:checked) {
   color: var(--mfw-text);
   background: transparent;
}

.mfw-role-card .mfw-permission-empty {
   color: var(--mfw-text-muted);
   font-size: 0.74rem;
}

.mfw-role-card .hm_id_select > .row {
   display: inline-flex;
   width: calc(50% - 0.45rem);
   min-height: 7.8rem;
   margin: 0 0.75rem 0.8rem 0 !important;
   padding: 0.9rem 1rem;
   vertical-align: top;
   border: 1px solid #dfcddd;
   border-radius: 0.65rem;
   background: #fffafd;
   box-shadow: none;
}

.mfw-role-card .hm_id_select > .row > .col-md-8 {
   flex: 0 0 100%;
   max-width: 100%;
}

.mfw-role-card .hm_id_select > .row .col-md-6 {
   flex: 0 0 100%;
   max-width: 100%;
}

.mfw-role-card .hm_id_select > .row b {
   color: var(--mfw-text);
   font-size: 0.82rem;
   font-weight: 900;
}

.mfw-role-card .hm_id_select > .row .col-md-4 {
   margin-top: 0.35rem;
   color: var(--mfw-text-muted);
   font-size: 0.7rem;
}

.mfw-role-card .hm_id_select > .row .col-md-12 {
   margin-top: 0.28rem;
   padding-left: 1.55rem;
   color: var(--mfw-text);
   font-size: 0.75rem;
}

@media (max-width: 767px) {
   .mfw-role-card .mfw-permission-grid {
      grid-template-columns: 1fr;
   }

   .mfw-role-card .hm_id_select > .row {
      width: 100%;
      margin-right: 0 !important;
   }
}

/* --------- Dashboard Shell --------- */
.mfw-dashboard-shell {
   min-height: 100vh;
   background:
      radial-gradient(circle at top left, rgba(54, 83, 71, 0.16), transparent 28%),
      radial-gradient(circle at top right, rgba(168, 121, 85, 0.12), transparent 24%),
      linear-gradient(180deg, #f6f4ef 0%, #f8f6f2 100%);
}

.mfw-dashboard-hero {
   display: grid;
   grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.9fr);
   gap: 0.65rem;
   padding: 0.5rem 0.5rem 0;
}

.mfw-dashboard-hero-copy,
.mfw-dashboard-hero-panel,
.mfw-dashboard-card {
   border: 1px solid rgba(216, 224, 219, 0.9);
   border-radius: 1.4rem;
   box-shadow: 0 20px 45px rgba(22, 45, 39, 0.08);
}

.mfw-dashboard-hero-copy {
   padding: 0.8rem 0.85rem;
   color: var(--mfw-white);
   background:
      linear-gradient(135deg, rgba(24, 42, 37, 0.98), rgba(54, 83, 71, 0.98) 55%, rgba(168, 121, 85, 0.88));
}

.mfw-dashboard-eyebrow {
   display: inline-flex;
   align-items: center;
   gap: 0.5rem;
   padding: 0.45rem 0.8rem;
   border: 1px solid rgba(255, 255, 255, 0.18);
   border-radius: 999px;
   background: rgba(255, 255, 255, 0.08);
   color: rgba(255, 255, 255, 0.9);
   font-size: 0.78rem;
   font-weight: 800;
   letter-spacing: 0.04em;
   text-transform: uppercase;
}

.mfw-dashboard-eyebrow-dot {
   width: 0.55rem;
   height: 0.55rem;
   border-radius: 50%;
   background: #89d5b8;
   box-shadow: 0 0 0 5px rgba(137, 213, 184, 0.18);
}

.mfw-hero-title {
   margin: 0.45rem 0 0;
   color: var(--mfw-white);
   font-size: clamp(1.25rem, 2.3vw, 1.9rem);
   line-height: 0.98;
   font-weight: 900;
   letter-spacing: -0.06em;
}

.mfw-dashboard-subtitle {
  max-width: 42rem;
   margin: 0.35rem 0 0;
   color: rgba(255, 255, 255, 0.84);
   font-size: 0.8rem;
   line-height: 1.35;
}

.mfw-dashboard-range-chip {
   padding: 0.3rem 0.65rem;
   border: 1px solid rgba(255, 255, 255, 0.18) !important;
   border-radius: 999px;
   color: rgba(255, 255, 255, 0.88) !important;
   background: rgba(255, 255, 255, 0.08) !important;
   font-size: 0.68rem;
   font-weight: 800;
}

.mfw-dashboard-range-chip.is-active {
   color: var(--mfw-primary-dark) !important;
   background: var(--mfw-white) !important;
}

.mfw-dashboard-hero-panel {
   padding: 0.75rem;
   background: linear-gradient(180deg, var(--mfw-surface), var(--mfw-primary-soft));
}

.mfw-dashboard-hero-panel-top {
   display: flex;
   align-items: flex-start;
   justify-content: space-between;
   gap: 0.55rem;
}

.mfw-dashboard-panel-kicker {
   color: var(--mfw-text-muted);
   font-size: 0.62rem;
   font-weight: 900;
   letter-spacing: 0.08em;
   text-transform: uppercase;
}

.mfw-dashboard-panel-value {
   color: var(--mfw-text);
   font-size: 0.96rem;
   line-height: 1.2;
   font-weight: 900;
}

.mfw-dashboard-hero-panel-grid {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 0.4rem;
   margin-top: 0.55rem;
}

.mfw-dashboard-hero-panel-grid > div {
   padding: 0.6rem 0.65rem;
   border: 1px solid var(--mfw-border);
   border-radius: 0.8rem;
   background: rgba(255, 255, 255, 0.72);
}

.mfw-dashboard-range-inline {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 0.55rem;
   min-height: 2.45rem;
}

.mfw-dashboard-range-inline strong {
   font-size: 0.92rem;
   font-weight: 700;
   white-space: nowrap;
}

.mfw-chart-pill {
   padding: 0.22rem 0.58rem;
   font-size: 0.64rem;
   font-weight: 800;
   letter-spacing: 0.03em;
   line-height: 1;
   border-radius: 999px;
   box-shadow: 0 4px 10px rgba(22, 45, 39, 0.08);
   cursor: pointer;
   transition: opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.mfw-chart-toggle {
   appearance: none;
}

.mfw-chart-toggle:hover,
.mfw-chart-legend-toggle:hover {
   transform: translateY(-1px);
}

.mfw-chart-toggle.is-inactive,
.mfw-chart-legend-toggle.is-inactive {
   opacity: 0.42;
   box-shadow: none;
}

.mfw-chart-pill-users {
   color: #184a36 !important;
   background: rgba(47, 133, 90, 0.18) !important;
   border: 1px solid rgba(47, 133, 90, 0.38) !important;
}

.mfw-chart-pill-posts {
   color: #7b4d22 !important;
   background: rgba(193, 122, 36, 0.18) !important;
   border: 1px solid rgba(193, 122, 36, 0.38) !important;
}

.mfw-dashboard-hero-badge {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 2.4rem;
   height: 2.4rem;
   border-radius: 50%;
   color: var(--mfw-white);
   background: linear-gradient(135deg, var(--mfw-primary), var(--mfw-secondary));
   box-shadow: 0 12px 24px rgba(54, 83, 71, 0.2);
}

.mfw-dashboard-custom-form .form-control {
   min-height: 2rem;
   font-size: 0.8rem;
}

.mfw-dashboard-custom-form .form-label {
   color: #2f3b36;
   font-size: 0.72rem;
   font-weight: 800;
}

.mfw-kpi-link {
   display: block;
   color: inherit;
   text-decoration: none;
}

.mfw-kpi-link:hover .mfw-kpi-card {
   transform: translateY(-2px);
   box-shadow: 0 22px 36px rgba(22, 45, 39, 0.12);
}

.mfw-kpi-link:focus-visible {
   outline: 2px solid rgba(54, 83, 71, 0.45);
   outline-offset: 4px;
   border-radius: 1.3rem;
}

.mfw-kpi-card {
   transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mfw-kpi-card {
   position: relative;
   overflow: hidden;
   min-height: 112px;
   border: 1px solid var(--mfw-border);
   border-radius: 1.3rem;
   background: var(--mfw-surface);
   box-shadow: 0 20px 40px rgba(22, 45, 39, 0.08);
}

.mfw-kpi-card::after {
   content: "";
   position: absolute;
   inset: auto -20% -35% auto;
   width: 11rem;
   height: 11rem;
   border-radius: 50%;
   opacity: 0.16;
   background: radial-gradient(circle, currentColor 0%, transparent 68%);
}

.mfw-kpi-card-inner {
   position: relative;
   z-index: 1;
   display: flex;
   align-items: flex-start;
   justify-content: space-between;
   gap: 0.75rem;
   padding: 0.95rem 1rem;
}

.mfw-kpi-label {
   color: var(--mfw-text-muted);
   font-size: 0.7rem;
   font-weight: 800;
   letter-spacing: 0.04em;
   text-transform: uppercase;
}

.mfw-kpi-value {
   margin-top: 0.35rem;
   color: var(--mfw-text);
   font-size: clamp(1.35rem, 2.4vw, 1.85rem);
   line-height: 1;
   font-weight: 900;
   letter-spacing: -0.04em;
}

.mfw-kpi-icon {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 2.45rem;
   height: 2.45rem;
   border-radius: 1rem;
   color: var(--mfw-white);
   background: linear-gradient(135deg, var(--mfw-primary), var(--mfw-secondary));
   box-shadow: 0 12px 24px rgba(54, 83, 71, 0.16);
}

.mfw-kpi-users { color: #3875d7; }
.mfw-kpi-premium { color: #2f855a; }
.mfw-kpi-posts { color: #c17a24; }
.mfw-kpi-revenue { color: #487a82; }

.mfw-dashboard-card {
   padding: 1.3rem;
   background: var(--mfw-surface);
}

.mfw-dashboard-card-head {
   display: flex;
   align-items: flex-start;
   justify-content: space-between;
   gap: 1rem;
   margin-bottom: 1rem;
}

.mfw-dashboard-card-title {
   margin: 0;
   color: var(--mfw-text);
   font-size: 1.08rem;
   font-weight: 900;
}

.mfw-dashboard-card-subtitle {
   margin: 0.25rem 0 0;
   color: var(--mfw-text-muted);
   font-size: 0.83rem;
}

.mfw-dashboard-chart {
   height: 22rem;
   min-height: 22rem;
   border: 1px solid var(--mfw-border);
   border-radius: 1.15rem;
   background: linear-gradient(180deg, #fcfdfb, #f7f9f7);
   overflow: hidden;
}

.mfw-dashboard-chart canvas {
   display: block;
   width: 100%;
   height: 100%;
}

.mfw-dashboard-chart-line {
   padding: 0;
}

.mfw-dashboard-chart-donut {
   position: relative;
   display: grid;
   grid-template-rows: minmax(0, 1fr) auto;
   align-items: stretch;
   gap: 1rem;
   padding: 0.95rem;
}

.mfw-dashboard-donut-stage {
   min-height: 0;
   display: flex;
   align-items: center;
   justify-content: center;
}

.mfw-dashboard-donut-stage canvas {
   max-height: 100%;
}

.mfw-chart-legend {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 0.7rem 1rem;
   padding: 0.2rem 0.35rem 0.35rem;
   color: var(--mfw-text);
   font-size: 0.78rem;
   font-weight: 700;
   align-items: stretch;
}

.mfw-chart-legend-toggle {
   display: inline-flex;
   align-items: center;
   gap: 0.45rem;
   width: 100%;
   padding: 0.3rem 0.45rem;
   border: 1px solid transparent;
   border-radius: 0.85rem;
   background: transparent;
   color: inherit;
   font: inherit;
   text-align: left;
   cursor: pointer;
   transition: opacity 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.mfw-chart-legend-toggle.is-active {
   background: rgba(255, 255, 255, 0.76);
   border-color: rgba(54, 83, 71, 0.1);
}

.mfw-legend-dot {
   width: 0.72rem;
   height: 0.72rem;
   border-radius: 50%;
   display: inline-block;
}

.mfw-legend-purchased { background: #2f855a; }
.mfw-legend-expired { background: #c94b4b; }
.mfw-legend-expiring { background: #c17a24; }
.mfw-legend-none { background: #5c5f66; }

.mfw-dashboard-table thead th {
   color: var(--mfw-text-muted);
   font-size: 0.75rem;
   font-weight: 900;
   letter-spacing: 0.05em;
   text-transform: uppercase;
   border-bottom: 1px solid var(--mfw-border);
}

.mfw-dashboard-table tbody td {
   padding: 0.8rem 0.75rem;
   border-bottom: 1px solid rgba(216, 224, 219, 0.75);
}

.mfw-dashboard-empty {
   padding: 1.2rem;
   color: var(--mfw-text-muted);
   text-align: center;
   font-size: 0.92rem;
}

.mfw-dashboard-summary-list {
   display: grid;
   gap: 0.55rem;
}

.mfw-dashboard-summary-row {
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 0.9rem 1rem;
   border: 1px solid var(--mfw-border);
   border-radius: 0.95rem;
   background: var(--mfw-surface-soft);
}

.mfw-dashboard-summary-row span {
   color: var(--mfw-text-muted);
   font-size: 0.84rem;
   font-weight: 700;
}

.mfw-dashboard-summary-row strong {
   color: var(--mfw-text);
   font-size: 0.92rem;
}

.mfw-activity-tile {
   min-height: 7.5rem;
   padding: 1.1rem;
   border-radius: 1.05rem;
   color: var(--mfw-white);
   background: linear-gradient(135deg, var(--mfw-primary), var(--mfw-secondary));
   box-shadow: 0 18px 32px rgba(54, 83, 71, 0.12);
}

.mfw-activity-users { background: linear-gradient(135deg, #365347, #5a7b68); }
.mfw-activity-posts { background: linear-gradient(135deg, #8a5f41, #c17a24); }
.mfw-activity-revenue { background: linear-gradient(135deg, #446b72, #6f9ba3); }

.mfw-activity-label {
   font-size: 0.8rem;
   font-weight: 800;
   letter-spacing: 0.04em;
   text-transform: uppercase;
   opacity: 0.85;
}

.mfw-activity-value {
   margin-top: 0.6rem;
   font-size: clamp(1.5rem, 2.6vw, 2.3rem);
   line-height: 1;
   font-weight: 900;
   letter-spacing: -0.05em;
}

@media (max-width: 1199px) {
   .mfw-dashboard-hero {
      grid-template-columns: 1fr;
   }
}

@media (max-width: 767px) {
   .mfw-dashboard-hero,
   .mfw-dashboard-card,
   .mfw-dashboard-hero-copy,
   .mfw-dashboard-hero-panel {
      padding: 0.7rem;
   }

   .mfw-dashboard-card-head,
   .mfw-dashboard-hero-panel-top {
      flex-direction: column;
   }

   .mfw-chart-legend {
      grid-template-columns: 1fr;
   }
}
