html {
        scroll-behavior: smooth;
        overflow-x: hidden;
}

body {
        width: 100%;
        height: 100%;
        overflow-x: hidden;
}

.app-container {
        overflow-x: hidden;
        max-width: 100vw;
}

.app-sidebar {
        display: flex;
        flex-direction: column;
        min-width: 240px;
        max-width: 240px;
        background: #ffffff;
        border-right: 1px solid #e2e8f0;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 1040;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 991.98px) {
        .app-sidebar {
                transform: translateX(-100%);
                box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
        }
        .app-sidebar.show {
                transform: translateX(0);
        }
}

.sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1035;
}

.sidebar-overlay.show {
        display: block;
}

.app-sidebar-title {
        display: flex;
        align-items: center;
        padding: 1.25rem 1.25rem;
        height: 72px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.app-sidebar-title a {
        font-size: 1.1rem;
        font-weight: 700;
        color: #1e293b;
        display: flex;
        align-items: center;
}

.app-sidebar-title a:hover {
        text-decoration: none;
}

.sidebar-brand-icon {
        font-size: 1.25rem;
        color: #4f46e5;
}

.sidebar-brand-text {
        font-size: 1.1rem;
        font-weight: 700;
        background: linear-gradient(135deg, #4f46e5, #6366f1);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
}

.sidebar-section-label {
        font-size: 0.6875rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #94a3b8;
        padding: 1rem 1.25rem 0.5rem;
}

.app-sidebar-links-wrapper {
        overflow-y: auto;
        flex: 1;
        padding-bottom: 0.5rem;
        scrollbar-width: thin;
        scrollbar-color: rgba(148, 163, 184, 0.3) transparent;
}

.app-sidebar-links-wrapper::-webkit-scrollbar {
        width: 4px;
}

.app-sidebar-links-wrapper::-webkit-scrollbar-thumb {
        background: rgba(148, 163, 184, 0.3);
        border-radius: 4px;
}

.app-sidebar-links {
        display: flex;
        flex-direction: column;
        list-style: none;
        padding: 0 0.75rem;
        margin: 0;
}

.app-sidebar-links li {
        transition: all 0.15s ease;
        width: 100%;
        margin-bottom: 2px;
}

.app-sidebar-links li a {
        width: 100%;
        display: flex;
        align-items: center;
        padding: 0.6rem 0.75rem;
        font-size: 0.875rem;
        font-weight: 500;
        color: #475569;
        border-radius: 0.5rem;
        transition: all 0.15s ease;
        text-decoration: none;
}

.app-sidebar-links li a i {
        font-size: 1rem;
        width: 20px;
        text-align: center;
        margin-right: 0.75rem;
        color: #94a3b8;
        transition: color 0.15s ease;
}

.sidebar-label {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
}

.app-sidebar-links li:hover a {
        background: rgba(79, 70, 229, 0.06);
        color: #4f46e5;
}

.app-sidebar-links li:hover a i {
        color: #4f46e5;
}

.app-sidebar-links li.active a {
        background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(99, 102, 241, 0.08));
        color: #4f46e5;
        font-weight: 600;
}

.app-sidebar-links li.active a i {
        color: #4f46e5;
}

.sidebar-user-section {
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        padding: 0.75rem;
}

.sidebar-user-link {
        display: flex;
        align-items: center;
        padding: 0.625rem 0.75rem;
        border-radius: 0.5rem;
        text-decoration: none !important;
        transition: all 0.15s ease;
}

.sidebar-user-link:hover {
        background: rgba(79, 70, 229, 0.06);
}

.sidebar-user-avatar {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid rgba(79, 70, 229, 0.2);
        margin-right: 0.75rem;
}

.sidebar-user-info {
        display: flex;
        flex-direction: column;
        overflow: hidden;
}

.sidebar-user-name {
        font-size: 0.8125rem;
        font-weight: 600;
        color: #1e293b;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
}

.sidebar-user-plan {
        font-size: 0.6875rem;
        font-weight: 500;
        color: #4f46e5;
        text-transform: uppercase;
        letter-spacing: 0.04em;
}

.app-content {
        margin-left: 240px;
        flex-grow: 1;
}

@media (max-width: 991.98px) {
        .app-content {
                margin-left: 0 !important;
        }
}

[dir="rtl"] .app-content {
        margin-left: initial;
        margin-right: 240px;
}

[dir="rtl"] .app-sidebar {
        left: auto;
        right: 0;
}

@media (max-width: 991.98px) {
        [dir="rtl"] .app-content {
                margin-right: 0 !important;
        }
}

@media print {
        .app-content {
                margin-left: 0 !important;
        }
        .app-sidebar {
                display: none !important;
        }
}

.app-navbar {
        min-height: 75px;
        position: relative;
        z-index: 1030;
}

.app-sidebar-footer-text {
        font-size: .9rem;
        font-weight: 500;
}

.app-navbar-avatar {
        width: 35px;
        height: 35px;
        border-radius: 50%;
}

/* Dropdown */
.dropdown-item {
        color: var(--gray-800);
        font-weight: 450;
        font-size: .9rem;
}

.dropdown-item:hover, .dropdown-item:focus, .dropdown-item.active {
        border-radius: var(--border-radius);
}

.dropdown-item svg {
        color: var(--gray-600);
}

.dropdown-item:active svg, .dropdown-item.active svg {
        color: var(--white);
}

/* Footer */
.app-footer {
        margin: 3rem 0 3rem 0;
        background: var(--white);
        border-radius: calc(2*var(--border-radius));
        padding: 1.25rem;
}

.app-footer {
        color: var(--gray-700);
}

.app-footer a:not(.dropdown-item), .app-footer a:hover:not(.dropdown-item) {
        color: var(--gray-700);
}

.app-footer a.icon {
        color: var(--gray-700);
}

.app-footer button, .app-footer button:hover {
        color: var(--gray) !important;
}

.footer-logo {
        max-height: 2.5rem;
        height: 2.5rem;
}

.footer-heading {
        color: var(--black) !important;
}

/* Filters */
.filters-dropdown {
        width: 18rem;
        max-height: 30rem;
        overflow-y: auto;
}

.visitor-avatar {
        width: 40px;
        height: 40px;
}

.team-user-avatar {
        width: 45px;
        height: 45px;
}

canvas {
        -moz-user-select: none;
        -webkit-user-select: none;
        -ms-user-select: none;
}

.modal-header {
        padding: 1rem;
        border-bottom: 0;
}

.modal-content {
        padding: 1rem;
        border: none;
        box-shadow: none;
        -webkit-box-shadow: none;
        border-radius: calc(2 * var(--border-radius));
}

/* Forms */
.input-group-text {
        font-size: 0.9rem;
}

.form-control-range {
        /* removing default appearance */
        -webkit-appearance: none;
        appearance: none;

        /*  slider progress trick  */
        overflow: hidden;

        /* creating a custom design */
        accent-color: var(--primary);
        background: var(--gray-200);
        border-radius: var(--border-radius);
        height: .5rem;
        margin: 0.75rem 0;
}

/* Track: webkit browsers */
.form-control-range::-webkit-slider-runnable-track, .form-control-range::-moz-range-track {
        background: var(--gray-200);
}

/* Thumb: webkit */
.form-control-range::-webkit-slider-thumb {
        /* removing default appearance */
        -webkit-appearance: none;
        appearance: none;

        /* creating a custom design */
        height: .75rem;
        width: .75rem;
        background-color: var(--primary);
        border-radius: 50%;
        border: 2px solid var(--white);

        /*  slider progress trick  */
        box-shadow: -2007px 0 0 2000px var(--primary-300);
}

.form-control-range::-moz-range-thumb {
        /* removing default appearance */
        -webkit-appearance: none;
        appearance: none;

        /* creating a custom design */
        height: .75rem;
        width: .75rem;
        background-color: var(--primary);
        border-radius: 50%;
        border: 2px solid var(--white);

        /*  slider progress trick  */
        box-shadow: -2007px 0 0 2000px var(--primary-300);
}

/* Custom breadcrumbs */
.custom-breadcrumbs {
        list-style: none;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
}

.custom-breadcrumbs > li {
        margin-right: .5rem;
}

.custom-breadcrumbs > li > a {
        color: var(--gray);
}

.custom-breadcrumbs > li > svg {
        color: var(--gray-400);
        margin-left: .5rem;
}



/* Helper classes */
.font-size-little-small {
    font-size: .95rem;
}

.font-size-small {
        font-size: .9rem;
}

.font-weight-450 {
    font-weight: 450;
}

.font-weight-500 {
        font-weight: 500;
}


.list-style-none {
        list-style: none;
        padding: 0;
}

.cursor-pointer {
        cursor: pointer;
}

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

.appearance-none {
        appearance: none;
        -moz-appearance: none;
        -webkit-appearance: none;
}

img {
        vertical-align: inherit !important;
}

.icon-favicon {
        width: .95rem;
        height: auto;
}

.icon-favicon-small {
        width: .75rem;
        height: auto;
}

/* Fix stupid border color from bootstrap on hover */
.btn:hover {
        border-color: transparent !important;
}

/* Navbar custom menu */
.navbar-main {
        position: relative;
        z-index: 1030;
}

.navbar-main .navbar-nav > li > a {
        padding: 1rem 0 !important;
}

@media (min-width: 992px) {
        .navbar-main .navbar-nav > li > a {
                padding: 1rem !important;
        }
}

.navbar-logo {
        max-height: 2rem;
        height: 2rem;
}

.navbar-logo-mini {
        max-height: 1.25rem;
        height: 1.25rem;
}

.navbar-avatar {
        width: 20px;
        height: 20px;
        border-radius: 50%;
}

.navbar-custom-toggler {
        padding: 0.5rem .8rem;
        font-size: 1.25rem;
        line-height: 1;
        background-color: transparent;
        border-radius: var(--border-radius);

        color: var(--gray-700);
        border-color: var(--gray-300);
}

.chart-container {
        position: relative;
        margin: auto;
        height: 275px;
        width: 100%;
}

@media print {
        .chart-container canvas {
                min-height: 100%;
                max-width: 100%;
                max-height: 100%;
                height: auto!important;
                width: auto!important;
        }
}

@media print {
        .chart-container canvas {
                min-height: 100%;
                max-width: 100%;
                max-height: 100%;
                height: auto!important;
                width: auto!important;
        }
}

/* Header container */
.user-avatar {
        border-radius: 50%;
        max-width: 70px;
        max-height: 70px;
}

/* Others */
.container-disabled {
        pointer-events: none;
        opacity: .5;
}

.container-disabled-simple {
        pointer-events: none;
}

/* Other animations */
@keyframes slowbounce {
        from {
                -webkit-transform: translateY(0px);
                transform: translateY(0px);
        }
        to {
                -webkit-transform: translateY(-30px);
                transform: translateY(-30px);
        }
}

/* Tables */
.table-image-wrapper {
        border-radius: 50%;
        width: 2.5rem;
        height: 2.5rem;
        max-width: 2.5rem;
        max-height: 2.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--primary-100);
}

.table-custom-container {
        border: 1px solid var(--gray-200);
        border-radius: var(--border-radius);
}

.table-custom {
        margin-bottom: 0;
}

.table-custom thead th {
        border-top: 0;
        border-bottom: 0;
        color: var(--primary-900);
        background: var(--gray-100);
}

[data-theme-style="dark"] .table-custom thead th {
        background: var(--white);
        color: var(--gray-800)
}

.table-custom th {
        padding: 1.25rem 1rem;
}

.table-custom td {
        padding: 1.25rem 1rem;
        background: var(--white);
        vertical-align: middle;
        border-top: 1px solid var(--gray-200);
}

[data-theme-style="dark"] .table-custom tbody tr td {
        border-color: var(--gray-200)
}

.table-custom tbody tr {
        transition: all .3s ease-in-out;
}

.table-custom tbody tr:hover td {
        background: var(--gray-50);;
}


/* Custom PRE container */
.pre-custom {
        background: var(--gray-300);
        padding: 2rem;
        font-size: 0.75rem;
}

/* Heatmaps */
.heatmap-container {
        position: relative;
        overflow: scroll;
        overflow-x: hidden;
        transform-origin: top left;
        height: 900px;
}

.heatmap-container iframe {
        border: 0;
        overflow: scroll;
}

.heatmap-canvas {
        position:absolute;
        z-index: 1;
        top: 0;
        left: 0;
        opacity: 0.75;
}


/* Helpers */
.zoomer {
        transition: transform .3s ease-in-out;
}
.zoomer:hover {
        transform: scale(1.02);
}

/* Pricing */
.pricing {
        width: 100%;
        margin: 0 auto 3em;
}

.pricing-item {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        flex: 0 1 100%;
}

@media (min-width: 768px) {
        .pricing-item {
                flex: 0 1 330px;
        }
}

.pricing-feature-list {
        text-align: left;
}

.pricing-palden .pricing-item {
        cursor: default;
        color: #7b7f84;
        background: var(--gray-50);
        border-radius: var(--border-radius);
        margin: 2rem 0 2rem 0;
}

@media (min-width: 768px) {
        .pricing-palden .pricing-item {
                margin: 2rem 2rem 2rem 0;
        }
}

.pricing-palden .pricing-deco {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
        background: var(--primary);
        padding: 2em 0 9em;
        position: relative;
}

.pricing-palden .pricing-deco-img {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 170px;
}

.pricing-palden .pricing-title {
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 3px;
        color: #fff;
        margin: 0;
}

.pricing-palden .deco-layer {
        transition: transform 0.5s;
}

.pricing-palden .deco-layer-1 {
        fill: var(--gray-300);
}

.pricing-palden .deco-layer-2 {
        fill: var(--gray-50);
}

.pricing-palden .icon {
        font-size: 2.5em;
}

.pricing-palden .pricing-price {
        font-size: 4em;
        font-weight: bold;
        padding: 0;
        color: #fff;
        margin: 0 0 0.25em 0;
        line-height: 0.75;
}

.pricing-palden .pricing-currency {
        font-size: 0.7rem;
        vertical-align: top;
}

.pricing-palden .pricing-sub {
        font-size: 0.9rem;
        margin: 2rem .5rem;
        color: #fff;
}

.pricing-palden .pricing__sentence {
        font-weight: bold;
        margin: 0 0 1em 0;
        padding: 0 0 0.5em;
}

.pricing-palden .pricing-feature-list {
        margin: 0;
        padding: 0.25em 2.5rem 2.5em;
        list-style: none;
}

.pricing-palden .pricing-feature {
        padding: .75rem 0;
}

.pricing-palden .pricing-action {
        font-weight: bold;
        margin: auto 2.5rem 1.5rem 2.5rem;
        font-size: 1rem;
}

.pricing-palden .pricing-action:hover, .pricing-palden .pricing-action:focus {
}

.pricing-palden .pricing-action-disabled {
        font-weight: bold;
        font-size: 1rem;
        margin: auto 2.5rem 1.5rem 2.5rem;
}

.pricing-palden .pricing-item--featured .pricing-deco {
        padding: 5em 0 8.885em 0;
}

.pricing-tag {
        position: absolute;
        font-size: 80%;
        font-weight: 600;
        background: var(--gray-600);
        color: var(--gray-50);
        padding: 0.1rem 0.8rem;
        border-radius: var(--border-radius);
        top: 0;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
}

/* Custom Radio Boxes */
.custom-radio-box {
        cursor: pointer;
}

.custom-radio-box .custom-radio-box-main-text {
        font-size: 1.15rem;
        font-weight: bold;
}

.custom-radio-box .custom-radio-box-main-icon {
        font-size: 1.25rem;
}

.custom-radio-box input[type="radio"] + div, .custom-radio-box input[type="checkbox"] + div {
        transition: all .3s ease-in-out;
        border: 2px solid var(--gray-200);
        background: var(--white);
}

.custom-radio-box input[type="radio"]:checked + div, .custom-radio-box input[type="checkbox"]:checked + div {
        border: 2px solid var(--primary);
}

.custom-radio-box input[type="radio"]:hover + div, .custom-radio-box input[type="checkbox"]:hover + div {
        border: 2px solid var(--primary);
}

/* Round circles */
.round-circle-sm {
        width: 1.5rem;
        height: 1.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
}

.round-circle-md {
        width: 2.5rem;
        height: 2.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
}

.round-circle-lg {
        width: 4.5rem;
        height: 4.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
}

/* Cards icons for analytics */
.analytics-go-back {
        position: absolute;
        left: 1.25rem;
}



/* Invoice css */
.invoice-table th {
        border-top: 0 !important;
}

.invoice-table td {
        vertical-align: baseline !important;
}

@media print {
        .invoice-logo {
                filter: grayscale(100%);
        }
}

/* Base animation */
.altum-animate {
        -webkit-animation-duration:500ms;
        animation-duration:500ms;
}

.altum-animate-fill-both {
        -webkit-animation-fill-mode:both;
        animation-fill-mode:both;
}

.altum-animate-fill-none {
        -webkit-animation-fill-mode:none;
        animation-fill-mode:none;
}

@keyframes fadeIn{
        0% {
                opacity:0
        }
        to {
                opacity:1
        }
}
.altum-animate-fade-in {
        -webkit-animation-name:fadeIn;
        animation-name:fadeIn
}


/* Custom button */

.btn-custom {
        padding: .5rem 1.5rem;
        color: var(--gray);
        border-radius: var(--border-radius);
        font-size: .9rem;
        background: var(--white);

}

.btn-custom:hover {
        color: var(--gray-700);
}

.btn-custom.active {
        color: var(--primary);
        background: var(--primary-100)
}

/* Blog */
.blog-post-image {
        max-height: 20rem;
        object-fit: cover;
}

.blog-post-image-small {
        height: 13rem;
        max-height: 13rem;
        object-fit: cover;
}

.blog-post-content {
        line-height: 1.75;
        word-break: break-word;
}

.blog-post-content p {
        margin-bottom: 1.5rem;
}

/* Helper for quill editor code block */
.ql-code-block {
        background-color: var(--gray-200);
        color: var(--gray-600);
        padding: 1rem;
        border-radius: var(--border-radius);
        overflow-x: auto;
        font-family: 'Courier New', Courier, monospace;
        white-space: pre;
        font-size: .9rem;
        line-height: 1.5;
}

.ql-content p {
        margin-bottom: 0 !important;
}

.ql-content li[data-list="bullet"] {
        list-style-type: disc;
}

blockquote {
        border-left: 4px solid var(--gray-400);
        padding: 1rem 1.5rem;
        margin: 1.5rem 0;
        background-color: var(--gray-100);
        font-style: italic;
        color: var(--gray-600);
        font-size: 1.1rem;
        line-height: 1.6;
        border-radius: var(--border-radius);
}
/* File input */
.altum-file-input {
        padding: 1rem;
        background: var(--gray-100);
        border: 1px solid var(--gray-200);
        border-radius: var(--border-radius);
        cursor: pointer;
        font-size: .9rem;
}

.altum-file-input:hover {
        border-color: var(--gray-300);
}

.altum-file-input::file-selector-button {
        border: 0;
        padding: .4rem .75rem;
        border-radius: var(--border-radius);
        background-color: var(--white);
        cursor: pointer;
        font-size: .9rem;
        margin-right: 1rem;
}

/* File input preview */
.altum-file-input-preview {
        max-width: 100%;
        max-height: 68px;
        min-height: 68px;
        object-fit: cover;
}

.sticky {
        position: sticky !important;
        top: 1rem;
        height: min-content;
}

/* Icons on links animations */
a svg {
        transition: transform .15s;
}

a:hover svg {
        transform: scale(1.1);
}

a:active svg {
        transform: scale(.9);
}

/* Helper zoom class for icons */
.icon-zoom-animation svg {
        transition: transform .15s;
}

.icon-zoom-animation:hover svg {
        transform: scale(1.1);
}

/* Self zoom */
.zoom-animation {
        transition: transform .15s;
}

.zoom-animation:hover {
        transform: scale(1.05);
}

.zoom-animation:active {
        transform: scale(.95);
}

.zoom-animation-subtle {
        transition: transform .3s;
}

.zoom-animation-subtle:hover {
        transform: scale(1.025);
}

.zoom-animation-subtle:active {
        transform: scale(.98);
}

.up-animation {
        transition: transform .3s;
}

.up-animation:hover {
        transform: translateY(-10px);
}

/* Color picker */
@media print {
        .pcr-app {
                display: none;
        }
}

.pcr-button {
        border: 1px solid white !important;
        outline: 1px solid var(--gray-300) !important;
        height: calc(var(--input-padding-y) + var(--input-padding-x) + var(--input-font-size) + calc(var(--input-font-size) / 2.75)) !important;
        border-radius: var(--border-radius) !important;
        width: 100% !important;
}

.pcr-button::before, .pcr-button::after {
        border-radius: var(--border-radius) !important;
}

/* Width fit content */
.w-fit-content {
        width: fit-content !important;
}

/* Ajax loading overlay */
.loading-overlay {
        padding: 1.25rem;
        border-radius: var(--border-radius);
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        width: 100%;
        height: 100%;
        background: var(--white);
        z-index: 100;
        opacity: 0.8;
}

[data-theme-style="dark"] .loading-overlay {
        background: var(--gray-50);
}

/* Shiki code highlighter */
.shiki {
        overflow: auto;
        border-radius: var(--border-radius);
        padding: 1.5rem;
        font-size: .9rem;
        line-height: 1.5rem;
}

.shiki code {
        background: initial !important;
}

/* Btn group */
.btn-group-custom {
        border: 1px solid var(--gray-100);
        padding: 0.5rem;
        border-radius: var(--border-radius);
        flex-wrap: wrap;
        display: inline-flex;
        gap: 0.5rem;
}

.btn-group-custom .btn {
        border-radius: var(--border-radius) !important;
        background: var(--gray-100);
}

.btn-group-custom .btn.active {
        background: var(--dark);
        color: var(--white);
    z-index: 0 !important;
}

/* Custom scrollbar */
body * {
    scrollbar-color: var(--gray-200) var(--white) !important;
    scrollbar-width: thin !important;
}

body *::-webkit-scrollbar-thumb  {
    background: var(--gray-200);
    border-radius: 10px;
    width: 6px;
    height: 6px;
}

body *::-webkit-scrollbar, body *::-webkit-scrollbar-track {
    background: var(--white);
    border-radius: 10px;
    width: 6px;
    height: 6px;
}

/* Notification bell */
.internal-notification-icon {
        animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
        0% {
                box-shadow: 0 0 0 0px var(--danger);
        }
        100% {
                box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
        }
}

/* Teams */
.team-user-avatar {
        width: 45px;
        height: 45px;
}

.team-delegate-access-wrapper {
        margin: .75rem;
        border-radius: .5rem;
}

@media (min-width: 992px) {
        .team-delegate-access-wrapper {
                border-radius: 5rem;
        }
}

/* Announcements */
.announcement-wrapper {
        margin: .75rem;
        border-radius: .5rem;
        opacity: 0;
        transition: opacity .3s ease-in;
        animation: ac-fade-in-down .3s ease-in .6s forwards;
}

@media (min-width: 992px) {
        .announcement-wrapper {
                border-radius: 5rem;
        }
}

@keyframes ac-fade-in-down {
        from {
                opacity: 0;
                transform: translate3d(0, -100%, 0);
        }

        to {
                opacity: 1;
                transform: translate3d(0, 0, 0);
        }
}

/* PWA */
.pwa-wrapper {
        position: fixed;
        bottom: 0;
        width: calc(100% - 1.5rem);
        z-index: 1000;
        background: rgba(230, 230, 230, 0.95);
}

[data-theme-style="dark"] .pwa-wrapper {
        background: hsla(0, 0%, 22%, 50%);
}



.rounded-2x {
        border-radius: calc(2*var(--border-radius));
}

.rounded-3x {
        border-radius: calc(3*var(--border-radius));
}

/* Pointer events */
.pointer-events-all {
        pointer-events: all !important;
}

/* Prevent fontawesome layout shifts */
i.fa-fw {
        width: 1.25em;
        display: inline-block;
}

i.fa-xs {
        font-size: .85em;
}

i.fa-sm {
        font-size: .875em;
}

i.fa-lg {
        font-size: 1.25em;
}

i.xl {
        font-size: 1.5em;
}

/* Custom light buttons */
.btn-light {
        background: var(--white);
        color: var(--gray);
}

/* Row with hidden icon */
.row-fade-show-icon a > svg {
        opacity: 0;
        transition: .3s opacity;
}

.row-fade-show-icon:hover a > svg {
        opacity: 1;
}

/* Ratings */
.rating-star {
        cursor: pointer;
}

.rating-star svg {
        color: #ffc107;
        transition: color .15s;
}

.rating-star:hover svg,
.rating-star:hover ~ .rating-star svg
{
        color: #ff8800 !important;
}

.rating-star-chosen svg,
.rating-star-chosen ~ .rating-star svg
{
        color: #dd6200;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700 !important;
    letter-spacing: -0.01em;
}

.btn {
    border-radius: 0.5rem !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%) !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%) !important;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35) !important;
    transform: translateY(-1px);
}

.card {
    border-radius: 0.75rem !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.form-control,
.custom-select {
    border-radius: 0.5rem !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus {
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
}

.dropdown-menu {
    border-radius: 0.75rem !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.modal-content {
    border-radius: 0.75rem !important;
}

.badge {
    border-radius: 0.375rem !important;
    font-weight: 500 !important;
}

.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #4f46e5 !important;
    border-color: #4f46e5 !important;
}

.nav-pills .nav-link.active {
    background: linear-gradient(135deg, #4f46e5, #6366f1) !important;
}

.progress {
    border-radius: 1rem !important;
}

.progress-bar {
    background: linear-gradient(90deg, #4f46e5, #6366f1) !important;
    border-radius: 1rem !important;
}


.scanmysites-footer-wrapper {
    padding: 3rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-heading-text {
    font-weight: 600 !important;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-social-link {
    font-size: 1.1rem;
    transition: color 0.15s ease, transform 0.15s ease;
}

.footer-social-link:hover {
    transform: translateY(-2px);
}

.footer-tool-btn {
    border-radius: 0.5rem !important;
    font-size: 0.8rem !important;
    padding: 6px 12px !important;
    transition: all 0.15s ease;
}

.footer-gbcain-card {
    border-radius: 0.75rem;
    padding: 1.5rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.footer-gbcain-title {
    font-size: 0.875rem;
    font-weight: 600;
}

.footer-gradient-text {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.footer-gbcain-address {
    font-size: 0.75rem;
}

.footer-gbcain-contacts {
    font-size: 0.75rem;
}

.footer-gbcain-contacts a {
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-gbcain-legal {
    font-size: 0.75rem;
}

.footer-icon-violet { color: #8b5cf6; }
.footer-icon-indigo { color: #818cf8; }
.footer-icon-violet-muted { color: rgba(139, 92, 246, 0.6); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.footer-social-bottom {
    font-size: 1.1rem;
    transition: color 0.15s ease;
}

[data-theme-style="dark"] body,
body.cc--darkmode {
    background-color: #0f172a !important;
}

[data-theme-style="dark"] .navbar {
    background: #0f172a !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

[data-theme-style="dark"] .card {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3) !important;
}

[data-theme-style="dark"] .card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4) !important;
}

[data-theme-style="dark"] .card-body {
    background: transparent !important;
}

[data-theme-style="dark"] .bg-gray-50,
[data-theme-style="dark"] .bg-gray-100 {
    background-color: #0f172a !important;
}

[data-theme-style="dark"] .bg-gray-200 {
    background-color: #1e293b !important;
}

[data-theme-style="dark"] .bg-white {
    background-color: #0f172a !important;
}

[data-theme-style="dark"] .app-sidebar {
    background: #0c1222 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
}

[data-theme-style="dark"] .app-sidebar-title {
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

[data-theme-style="dark"] .app-sidebar-title a {
    color: #f1f5f9 !important;
}

[data-theme-style="dark"] .sidebar-brand-text {
    background: linear-gradient(135deg, #818cf8, #a5b4fc) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

[data-theme-style="dark"] .sidebar-brand-icon {
    color: #818cf8 !important;
}

[data-theme-style="dark"] .sidebar-section-label {
    color: #64748b !important;
}

[data-theme-style="dark"] .app-sidebar-links li a {
    color: #94a3b8 !important;
}

[data-theme-style="dark"] .app-sidebar-links li a i {
    color: #64748b !important;
}

[data-theme-style="dark"] .app-sidebar-links li:hover a {
    background: rgba(79, 70, 229, 0.1) !important;
    color: #c7d2fe !important;
}

[data-theme-style="dark"] .app-sidebar-links li:hover a i {
    color: #818cf8 !important;
}

[data-theme-style="dark"] .app-sidebar-links li.active a {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(99, 102, 241, 0.1)) !important;
    color: #818cf8 !important;
}

[data-theme-style="dark"] .app-sidebar-links li.active a i {
    color: #818cf8 !important;
}

[data-theme-style="dark"] .sidebar-user-section {
    border-top-color: rgba(255, 255, 255, 0.06) !important;
}

[data-theme-style="dark"] .sidebar-user-link:hover {
    background: rgba(79, 70, 229, 0.1) !important;
}

[data-theme-style="dark"] .sidebar-user-name {
    color: #e2e8f0 !important;
}

[data-theme-style="dark"] .sidebar-user-plan {
    color: #818cf8 !important;
}

[data-theme-style="dark"] .sidebar-user-avatar {
    border-color: rgba(129, 140, 248, 0.3) !important;
}

[data-theme-style="dark"] .btn-light {
    background: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #e2e8f0 !important;
}

[data-theme-style="dark"] .btn-light:hover {
    background: #334155 !important;
}

[data-theme-style="dark"] .btn-outline-primary {
    color: #818cf8 !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
}

[data-theme-style="dark"] .btn-outline-primary:hover {
    background: rgba(79, 70, 229, 0.15) !important;
    border-color: #4f46e5 !important;
    color: #a5b4fc !important;
}

[data-theme-style="dark"] .form-control,
[data-theme-style="dark"] .custom-select,
[data-theme-style="dark"] .input-group-text {
    background-color: #0f172a !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #e2e8f0 !important;
}

[data-theme-style="dark"] .dropdown-menu {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
}

[data-theme-style="dark"] .dropdown-item {
    color: #cbd5e1 !important;
}

[data-theme-style="dark"] .dropdown-item:hover {
    background: rgba(79, 70, 229, 0.15) !important;
    color: #e2e8f0 !important;
}

[data-theme-style="dark"] .modal-content {
    background: linear-gradient(145deg, #1e293b, #0f172a) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

[data-theme-style="dark"] .table {
    color: #e2e8f0 !important;
}

[data-theme-style="dark"] .table thead th {
    background: rgba(15, 23, 42, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
    color: #94a3b8 !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

[data-theme-style="dark"] .table td {
    border-color: rgba(255, 255, 255, 0.04) !important;
}

[data-theme-style="dark"] .border,
[data-theme-style="dark"] .border-bottom,
[data-theme-style="dark"] .border-top {
    border-color: rgba(255, 255, 255, 0.06) !important;
}

[data-theme-style="dark"] .text-muted {
    color: #64748b !important;
}

[data-theme-style="dark"] a:not(.btn):not(.nav-link):not(.dropdown-item):not(.footer-social-link):not(.footer-social-bottom):not(.footer-gbcain-contacts a) {
    color: #818cf8;
}

[data-theme-style="dark"] a:not(.btn):not(.nav-link):not(.dropdown-item):not(.footer-social-link):not(.footer-social-bottom):hover {
    color: #a5b4fc;
}

[data-theme-style="dark"] .text-primary {
    color: #818cf8 !important;
}

[data-theme-style="dark"] .badge-primary {
    background: linear-gradient(135deg, #4f46e5, #6366f1) !important;
}

[data-theme-style="dark"] .badge-success {
    background: linear-gradient(135deg, #059669, #10b981) !important;
}

[data-theme-style="dark"] .alert-primary {
    background: rgba(79, 70, 229, 0.1) !important;
    border-color: rgba(79, 70, 229, 0.2) !important;
    color: #a5b4fc !important;
}

[data-theme-style="dark"] .alert-success {
    background: rgba(16, 185, 129, 0.1) !important;
    border-color: rgba(16, 185, 129, 0.2) !important;
    color: #6ee7b7 !important;
}

[data-theme-style="dark"] .alert-warning {
    background: rgba(245, 158, 11, 0.1) !important;
    border-color: rgba(245, 158, 11, 0.2) !important;
    color: #fbbf24 !important;
}

[data-theme-style="dark"] .alert-danger {
    background: rgba(239, 68, 68, 0.1) !important;
    border-color: rgba(239, 68, 68, 0.2) !important;
    color: #fca5a5 !important;
}

[data-theme-style="dark"] .page-link {
    background-color: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
    color: #94a3b8 !important;
}

[data-theme-style="dark"] .page-item.active .page-link {
    background: linear-gradient(135deg, #4f46e5, #6366f1) !important;
    border-color: #4f46e5 !important;
    color: #fff !important;
}

[data-theme-style="dark"] .list-group-item {
    background-color: rgba(30, 41, 59, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
    color: #e2e8f0 !important;
}

[data-theme-style="dark"] .index-header,
[data-theme-style="dark"] .index-content {
    background: #0f172a !important;
}

[data-theme-style="dark"] .index-header .btn-primary,
[data-theme-style="dark"] .index-content .btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.35) !important;
}

[data-theme-style="dark"] .pricing-plan-card {
    background: linear-gradient(145deg, #1e293b, #0f172a) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 1rem !important;
    transition: all 0.3s ease;
}

[data-theme-style="dark"] .pricing-plan-card:hover {
    border-color: rgba(79, 70, 229, 0.3) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    transform: translateY(-4px);
}

[data-theme-style="dark"] .scanmysites-footer-wrapper {
    background: #020617 !important;
    border-top-color: rgba(255, 255, 255, 0.06);
}

[data-theme-style="dark"] .footer-desc {
    color: #64748b;
}

[data-theme-style="dark"] .footer-heading-text {
    color: #f1f5f9 !important;
}

[data-theme-style="dark"] .footer-links a {
    color: #94a3b8;
}

[data-theme-style="dark"] .footer-links a:hover {
    color: #818cf8;
}

[data-theme-style="dark"] .footer-social-link {
    color: #64748b;
}

[data-theme-style="dark"] .footer-social-link:hover {
    color: #e2e8f0;
}

[data-theme-style="dark"] .footer-tool-btn {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
}

[data-theme-style="dark"] .footer-tool-btn:hover {
    background: rgba(79, 70, 229, 0.15) !important;
    color: #c7d2fe !important;
    border-color: rgba(79, 70, 229, 0.3) !important;
}

[data-theme-style="dark"] .footer-gbcain-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme-style="dark"] .footer-gbcain-title {
    color: #f1f5f9;
}

[data-theme-style="dark"] .footer-gbcain-address {
    color: #94a3b8;
}

[data-theme-style="dark"] .footer-gbcain-contacts {
    color: #94a3b8;
}

[data-theme-style="dark"] .footer-gbcain-contacts a {
    color: #818cf8;
}

[data-theme-style="dark"] .footer-gbcain-contacts a:hover {
    color: #a5b4fc;
}

[data-theme-style="dark"] .footer-gbcain-legal {
    color: #64748b;
}

[data-theme-style="dark"] .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.06);
    color: #64748b;
}

[data-theme-style="dark"] .footer-social-bottom {
    color: #64748b;
}

[data-theme-style="dark"] .footer-social-bottom:hover {
    color: #f1f5f9;
}

[data-theme-style="dark"] .app-footer {
    background: #020617 !important;
    border: none !important;
    padding: 0 !important;
}

[data-theme-style="dark"] ::selection {
    background: rgba(79, 70, 229, 0.3);
    color: #fff;
}

[data-theme-style="dark"] ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

[data-theme-style="dark"] ::-webkit-scrollbar-track {
    background: #0f172a;
}

[data-theme-style="dark"] ::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

[data-theme-style="dark"] ::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

[data-theme-style="light"] .btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%) !important;
    border: none !important;
    color: #fff !important;
}

[data-theme-style="light"] .btn-primary:hover {
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%) !important;
}

[data-theme-style="light"] .text-primary {
    color: #4f46e5 !important;
}

[data-theme-style="light"] .scanmysites-footer-wrapper {
    background: #f8fafc;
    border-top-color: #e2e8f0;
}

[data-theme-style="light"] .footer-desc {
    color: #64748b;
}

[data-theme-style="light"] .footer-heading-text {
    color: #0f172a !important;
}

[data-theme-style="light"] .footer-links a {
    color: #475569;
}

[data-theme-style="light"] .footer-links a:hover {
    color: #4f46e5;
}

[data-theme-style="light"] .footer-social-link {
    color: #64748b;
}

[data-theme-style="light"] .footer-social-link:hover {
    color: #4f46e5;
}

[data-theme-style="light"] .footer-tool-btn {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
}

[data-theme-style="light"] .footer-tool-btn:hover {
    background: #e0e7ff !important;
    color: #4f46e5 !important;
    border-color: #c7d2fe !important;
}

[data-theme-style="light"] .footer-gbcain-card {
    background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
    border: 1px solid #e2e8f0;
}

[data-theme-style="light"] .footer-gbcain-title {
    color: #0f172a;
}

[data-theme-style="light"] .footer-gbcain-address {
    color: #475569;
}

[data-theme-style="light"] .footer-gbcain-contacts {
    color: #475569;
}

[data-theme-style="light"] .footer-gbcain-contacts a {
    color: #4f46e5;
}

[data-theme-style="light"] .footer-gbcain-contacts a:hover {
    color: #4338ca;
}

[data-theme-style="light"] .footer-gbcain-legal {
    color: #94a3b8;
}

[data-theme-style="light"] .footer-bottom {
    border-top-color: #e2e8f0;
    color: #64748b;
}

[data-theme-style="light"] .footer-social-bottom {
    color: #94a3b8;
}

[data-theme-style="light"] .footer-social-bottom:hover {
    color: #4f46e5;
}

[data-theme-style="light"] .app-footer {
    background: #f8fafc !important;
    border: none !important;
    padding: 0 !important;
}


[data-theme-style="light"] .card {
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}

[data-theme-style="light"] .card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

[data-theme-style="light"] .badge-primary {
    background: linear-gradient(135deg, #4f46e5, #6366f1) !important;
    color: #fff !important;
}

[data-theme-style="light"] .form-control:focus {
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
}

[data-theme-style="light"] .alert-primary {
    background: rgba(79, 70, 229, 0.08) !important;
    border-color: rgba(79, 70, 229, 0.15) !important;
    color: #4338ca !important;
}

[data-theme-style="light"] .page-item.active .page-link {
    background: linear-gradient(135deg, #4f46e5, #6366f1) !important;
    border-color: #4f46e5 !important;
}

[data-theme-style="light"] .footer-icon-violet { color: #7c3aed; }
[data-theme-style="light"] .footer-icon-indigo { color: #4f46e5; }
[data-theme-style="light"] .footer-icon-violet-muted { color: rgba(124, 58, 237, 0.5); }

.app-header-modern {
    padding: 0.5rem 1.5rem !important;
    margin-bottom: 1.5rem;
}

.app-header-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-header-site-select {
    padding: 6px 12px;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s ease;
}

.app-header-toggler {
    border: none !important;
    padding: 8px 12px;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.app-header-icon-btn {
    padding: 8px !important;
    border-radius: 0.5rem;
    transition: all 0.15s ease;
}

.app-header-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(79, 70, 229, 0.2);
}

.app-header-user {
    padding: 4px 8px;
    border-radius: 0.5rem;
    transition: all 0.15s ease;
}

.app-header-username {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
}

.app-header-email {
    font-size: 0.75rem;
    line-height: 1.2;
}

.app-header-dropdown {
    min-width: 240px;
    padding: 8px !important;
}

.app-header-dropdown .dropdown-item {
    border-radius: 0.375rem;
    padding: 8px 12px;
    font-size: 0.875rem;
    margin-bottom: 2px;
}

.app-header-dropdown .dropdown-divider {
    margin: 6px 0;
}

[data-theme-style="dark"] .app-header-modern {
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

[data-theme-style="dark"] .app-header-site-select {
    background: rgba(30, 41, 59, 0.6);
    color: #cbd5e1;
}

[data-theme-style="dark"] .app-header-site-select:hover {
    background: rgba(30, 41, 59, 0.9);
    color: #f1f5f9;
}

[data-theme-style="dark"] .app-header-toggler {
    color: #94a3b8;
    background: rgba(30, 41, 59, 0.6);
}

[data-theme-style="dark"] .app-header-user:hover {
    background: rgba(30, 41, 59, 0.6);
}

[data-theme-style="dark"] .app-header-username {
    color: #f1f5f9;
}

[data-theme-style="dark"] .app-header-email {
    color: #64748b;
}

[data-theme-style="dark"] .app-header-dropdown {
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme-style="dark"] .app-header-dropdown .dropdown-item {
    color: #cbd5e1;
}

[data-theme-style="dark"] .app-header-dropdown .dropdown-item:hover,
[data-theme-style="dark"] .app-header-dropdown .dropdown-item.active {
    background: rgba(79, 70, 229, 0.15) !important;
    color: #e2e8f0;
}

[data-theme-style="dark"] .app-header-dropdown .dropdown-item.text-danger {
    color: #f87171 !important;
}

[data-theme-style="dark"] .app-header-dropdown .dropdown-item.text-danger:hover {
    background: rgba(239, 68, 68, 0.1) !important;
}

[data-theme-style="light"] .app-header-modern {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

[data-theme-style="light"] .app-header-site-select {
    background: #f8fafc;
    color: #334155;
}

[data-theme-style="light"] .app-header-site-select:hover {
    background: #f1f5f9;
    color: #0f172a;
}

[data-theme-style="light"] .app-header-toggler {
    color: #475569;
    background: #f8fafc;
}

[data-theme-style="light"] .app-header-user:hover {
    background: #f8fafc;
}

[data-theme-style="light"] .app-header-username {
    color: #0f172a;
}

[data-theme-style="light"] .app-header-email {
    color: #64748b;
}

[data-theme-style="light"] .app-header-dropdown {
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

[data-theme-style="light"] .app-header-dropdown .dropdown-item:hover,
[data-theme-style="light"] .app-header-dropdown .dropdown-item.active {
    background: rgba(79, 70, 229, 0.08) !important;
    color: #4f46e5;
}

[data-theme-style="light"] .app-header-dropdown .dropdown-item.text-danger:hover {
    background: rgba(239, 68, 68, 0.05) !important;
}


* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    padding: 0;
}

.mobile-nav-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem 0.25rem;
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
}

[data-theme-style="dark"] .mobile-nav-bar {
    background: #0f172a;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
}

[data-theme-style="light"] .mobile-nav-bar {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.mobile-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.5rem;
    border: none;
    background: none;
    color: #64748b;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0.5rem;
    min-width: 56px;
    text-decoration: none !important;
    position: relative;
}

.mobile-nav-btn i {
    font-size: 1.125rem;
    margin-bottom: 0.2rem;
    transition: all 0.2s ease;
}

.mobile-nav-btn:hover,
.mobile-nav-btn.active {
    color: #4f46e5;
}

[data-theme-style="dark"] .mobile-nav-btn {
    color: #64748b;
}

[data-theme-style="dark"] .mobile-nav-btn:hover,
[data-theme-style="dark"] .mobile-nav-btn.active {
    color: #818cf8;
}

.mobile-nav-btn.active i {
    transform: scale(1.1);
}

.mobile-nav-btn.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 0 0 3px 3px;
}

.mobile-menu-panel {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1049;
    max-height: 65vh;
    overflow-y: auto;
    border-radius: 1.25rem 1.25rem 0 0;
    padding: 1.25rem 1rem;
    padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-panel.show {
    display: block;
    transform: translateY(0);
}

[data-theme-style="dark"] .mobile-menu-panel {
    background: #1e293b;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.5);
}

[data-theme-style="light"] .mobile-menu-panel {
    background: #ffffff;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.12);
}

.mobile-menu-panel-handle {
    width: 36px;
    height: 4px;
    border-radius: 4px;
    background: rgba(148,163,184,0.4);
    margin: 0 auto 1rem;
}

.mobile-menu-panel-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
    padding: 0 0.25rem;
}

[data-theme-style="dark"] .mobile-menu-panel-title {
    color: #64748b;
}

[data-theme-style="light"] .mobile-menu-panel-title {
    color: #94a3b8;
}

.mobile-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.625rem;
    margin-bottom: 1rem;
}

.mobile-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 0.5rem;
    border-radius: 0.875rem;
    text-decoration: none !important;
    transition: all 0.2s ease;
    text-align: center;
}

[data-theme-style="dark"] .mobile-menu-item {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255,255,255,0.06);
    color: #cbd5e1;
}

[data-theme-style="dark"] .mobile-menu-item:hover {
    background: rgba(79, 70, 229, 0.15);
    border-color: rgba(79, 70, 229, 0.3);
    color: #e2e8f0;
}

[data-theme-style="dark"] .mobile-menu-item.current {
    background: linear-gradient(135deg, rgba(79,70,229,0.2), rgba(99,102,241,0.15));
    border-color: rgba(79, 70, 229, 0.4);
    color: #a5b4fc;
}

[data-theme-style="light"] .mobile-menu-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
}

[data-theme-style="light"] .mobile-menu-item:hover {
    background: rgba(79, 70, 229, 0.06);
    border-color: rgba(79, 70, 229, 0.2);
    color: #4f46e5;
}

[data-theme-style="light"] .mobile-menu-item.current {
    background: rgba(79, 70, 229, 0.08);
    border-color: rgba(79, 70, 229, 0.3);
    color: #4f46e5;
}

.mobile-menu-item i {
    font-size: 1.25rem;
    margin-bottom: 0.375rem;
}

.mobile-menu-item span {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1048;
}

.mobile-menu-overlay.show {
    display: block;
}

@media (max-width: 991.98px) {
    .mobile-bottom-nav {
        display: block;
    }

    .app-sidebar {
        display: none !important;
    }

    .sidebar-overlay {
        display: none !important;
    }

    .app-content {
        padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px)) !important;
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    #sidebar_toggle_btn {
        display: none !important;
    }

    .card-body {
        padding: 1rem !important;
    }

    .py-4.p-lg-5 {
        padding: 1rem !important;
    }

    .py-4.px-lg-5 {
        padding: 0.75rem !important;
    }

    .app-navbar {
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .table-responsive,
    .table-custom-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        max-width: 100% !important;
    }

    .container, .container-fluid {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    img, video, iframe {
        max-width: 100% !important;
        height: auto;
    }

    pre, code {
        max-width: 100% !important;
        overflow-x: auto !important;
        word-break: break-all;
    }

    .dropdown-menu {
        max-width: calc(100vw - 1.5rem) !important;
    }

    #internal_notifications_content {
        width: calc(100vw - 2rem) !important;
        max-width: calc(100vw - 2rem) !important;
    }
}
