/* ========== Order Timeline Dark Mode ========== */
body.dark-only .timeline-container {
    background: transparent;
}

body.dark-only .timeline-item .timeline-content .bg-light {
    background: #232f3e !important;
    border-color: #2d3d52 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

body.dark-only .timeline-item .timeline-content .text-dark,
body.dark-only .timeline-item .timeline-content h6.text-dark,
body.dark-only .timeline-item .timeline-content h4.text-dark {
    color: #e2e8f0 !important;
}

body.dark-only .timeline-item .timeline-content .alert-info {
    background: #1e2a3a;
    border-color: #3a4a5f;
    color: #cbd5e0;
}

body.dark-only .timeline-item .timeline-content .alert-info .text-dark {
    color: #e2e8f0 !important;
}

body.dark-only .timeline-item .timeline-content .badge {
    filter: brightness(0.85) saturate(1.2);
    color: #fff !important;
    border: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

body.dark-only .timeline-item .timeline-icon .rounded-circle {
    border-color: #232f3e !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

body.dark-only .timeline-item .timeline-icon .rounded-circle i {
    color: #fff !important;
}

body.dark-only .timeline-line {
    background: linear-gradient(to bottom, #3a4a5f, #232f3e) !important;
}

body.dark-only .timeline-content .text-muted,
body.dark-only .timeline-content .small,
body.dark-only .timeline-content .alert-heading {
    color: #a0aec0 !important;
}

body.dark-only .timeline-content .fw-bold {
    color: #fff !important;
}

body.dark-only .timeline-content .border {
    border-color: #2d3d52 !important;
}

body {
    background-color: #ffffff !important;
}

#site {
    opacity: 0;
    transition: all 2s ease;
}

#preloader {
    height: 40.1px;
    width: 40.1px;
    position: absolute;
    top: 45%;
    left: 45%;
    margin-top: -20.1;
    margin-left: -20.1;

    &:before {
        content: "";
        display: block;
        position: absolute;
        left: -12.1px;
        top: -22.1px;
        height: 200%;
        width: 200%;
        animation: rotation 1s linear infinite;
        border: 1.1px solid #fba415;
        border-top: 1.1px solid transparent;
        border-radius: 100%;
    }

    &>.icon {
        position: absolute;
        top: 0%;
        left: 0%;
        height: 50.1px;
        width: 70.6px;
        margin-top: -12.5px;
        margin-left: -5.3px;
        animation: wink 1s ease-in-out infinite alternate;
    }
}

@media only screen and (min-width:768px) {
    #preloader {
        height: 60.1px;
        width: 60.1px;
        margin-top: -30.1px;
        margin-left: -30.1px;

        &:before {
            left: -2.1px;
            top: -2.1px;
            border-top-width: 2.1px;
            border-left-width: 2.1px;
            border-bottom-width: 2.1px;
            border-right-width: 2.1px;
        }

        &>.icon {

            height: 67.1px;
            width: 86.6px;
            margin-top: 16.6px;
            margin-left: 20.9px;
        }
    }
}

@media only screen and (min-width:1200px) {
    #preloader {
        height: 80.1px;
        width: 80.1px;
        margin-top: -40.1px;
        margin-left: -40.1px;

        &>.icon {
            height: 90.1px;
            width: 122.6px;
            margin-top: 24.9px;
            margin-left: 23.4px;
        }
    }
}


@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}

@keyframes wink {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.checkbox label::before {
    top: 0 !important;
}

@media screen and (max-width: 1470px) {
    .page-wrapper .page-header .header-wrapper .nav-right>ul>li:first-child {
        width: 0px !important;
        margin-right: 8px;
    }
}

.page-wrapper .page-header .header-wrapper .nav-right>ul>li:first-child {
    width: 0px !important;
    margin-right: 8px;
}

div .action i {
    color: black
}

.modal-title {
    font-size: 24px !important
}


.status-scroll {
    max-width: 100vw;
    overflow-x: scroll;
    overflow-y: hidden;
}

.status-scroll::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.status-scroll::-webkit-scrollbar-thumb {
    background: #FCA310;
    border-radius: 10px;
}

.status-list {
    display: flex;
    flex-wrap: wrap;
    width: max-content;
}

.inline-flex {
    display: inline-flex;
}

.btn.btn-icon {
    width: calc(1.5em + 0.5rem + 2px);
    height: calc(1.5em + 0.5rem + 2px);
}

.checkbox label::before {
    top: -5px;
}

table.dataTable input,
table.dataTable select {
    height: 1em;
}

.page-wrapper .page-body-wrapper .page-title .breadcrumb .breadcrumb-item+.breadcrumb-item:before {
    font-family: 'Font Awesome 6 Pro';
}

.cd-timeline-img i {
    left: 48%;
    top: 33%;
}

.btn-status {
    padding: 0.25rem 1rem;
    font-size: 11px;
}

.text-black {
    color: black !important
}

.select2-container .select2-selection--single {
    padding-bottom: 37px;
    padding-top: 8px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 10px !important;
}

.ellipsis-1-line {
    -webkit-box-orient: vertical;
    display: -webkit-box !important;
    overflow: hidden;
    -webkit-line-clamp: 1;
}

.ellipse-2-lines {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    white-space: pre-line;
}

nav ul.pagination {
    justify-content: end;
    margin-bottom: 10px;
    margin-right: 10px;
}

.avatar-xs {
    height: 2rem;
    width: 2rem;
}

.avatar-title {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #FCA310;
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-weight: 500;
    height: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    border-radius: 50% !important;
}

.dir-ltr {
    direction: ltr
}

.dir-rtl {
    direction: rtl
}

.d-inline-block {
    display: inline-block;
}

.page-header .header-wrapper .nav-right>ul>li .lang-txt {
    margin-left: 8px !important;
    margin-right: 8px !important;
}

html[dir="ltr"] .toolbar-margin {
    margin-left: auto;
}

html[dir="rtl"] .toolbar-margin {
    margin-right: auto;
}

html[dir="rtl"] .fa-angle-double-left::before {
    content: "\f101";
}

html[dir="rtl"] .fa-angle-double-right::before {
    content: "\f100";
}

html[dir="rtl"] .dataTables_wrapper .dataTables_length label {
    float: right;
}

body.dark-only .page-wrapper .page-body-wrapper .page-body .border {
    border: none !important;
}

body.dark-only .page-wrapper .page-body-wrapper .page-body .border i {
    color: #fff
}

body.dark-only .page-wrapper .page-body-wrapper .page-title .breadcrumb .breadcrumb-item a {
    color: #ffffff;
}

body.dark-only .currency-icon {
    color: #ffffff;
}

@media(max-width:990px) {
    .lg-screen {
        display: none
    }
}

body.dark-only .form-control {
    background-color: #10101c;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid #323347;
}

body.dark-only .dropdown-item i {
    color: white;
}

body.dark-only ul.action i {
    color: white;
}

body.dark-only .dark-only-text {
    color: white;
}

.page-wrapper .page-header .header-wrapper .nav-right>ul>li.social-accounts:hover {
    background-color: unset;
}

.page-wrapper .page-header .header-wrapper .nav-right>ul>li.social-accounts:hover i {
    stroke: unset;
    color: unset;
}

.page-wrapper .page-header .header-wrapper .nav-right>ul>li:first-child {
    width: 30px !important;
    margin-right: unset;
}

.w-140px {
    width: 140px
}

@media(max-width:575px) {
    .breadcrumb-marquee {
        order: 1
    }
}

.currency-badge {
    padding: 0.35rem;
}

body.dark-only .text-body {
    color: #fff !important
}

body.dark-only .table th {
    color: #fff;
}

body.dark-only .table td {
    color: #fff;
}

@media screen and (max-width: 600px) {
    table tr {
        display: table-row !important;
    }
}

body.dark-only .page-wrapper .page-body-wrapper .page-body .card:not(.email-body) .bg-white {
    background-color: #181828 !important;
    color: white;
}

body.dark-only .input-group-text {
    border-color: #333446;
    color: white
}

.img-50 {
    width: 50px !important;
    height: 50px !important;
    object-fit: cover
}

.right-header .input-group .form-control {
    border: none !important
}

.img-40 {
    width: 40px !important;
    height: 40px;
    object-fit: cover;
}

span:has(.select2-selection--multiple) .selection .select2-selection {
    padding: 2px 15px !important;
    border-radius: 0.25rem !important;
    border: 1px solid #eee !important;
    height: 46.6px;
}

body.dark-only span:has(.select2-selection--multiple) .selection .select2-selection {
    border: 1px solid #333446 !important;
}

span:has(.select2-selection--multiple) .select2-search--inline {
    top: 1px !important;
    left: 1px !important;
    width: 100% !important;
    position: absolute !important;
    padding-inline: 8px;
}

span:has(.select2-selection--multiple):has(.select2-selection__choice) .select2-search--inline {
    z-index: -1;
}

span:has(.select2-selection--multiple) .selection .select2-selection .select2-search__field {
    height: 37px !important;
    padding-top: 10px !important;
    float: right;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff !important;
    float: right;
    margin-left: 0.5rem;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    margin-right: 2px;
    background-color: var(--theme-deafult) !important;
    border-color: var(--theme-deafult) !important;
    border: 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    padding: 2px 6px !important;
    margin-top: 4px !important;
    background-color: var(--theme-deafult) !important;
    border-color: #FCA310 !important;
    color: #fff;
    margin-right: 8px !important;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: default;
    float: left;
}

.display-none {
    display: none;
}


/* Marquee styles */
.marquee {
    --gap: 1rem;
    position: relative;
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: var(--gap);
}

.marquee__content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    gap: var(--gap);
    min-width: 75%;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - var(--gap)));
    }
}

/* Pause animation when reduced-motion is set */
@media (prefers-reduced-motion: reduce) {
    .marquee__content {
        animation-play-state: paused !important;
    }
}

/* Enable animation */
.enable-animation .marquee__content {
    animation: scroll 10s linear infinite;
}

/* Reverse animation */
.marquee--reverse .marquee__content {
    animation-direction: reverse !important;
}

/* Pause on hover */
.marquee--hover-pause:hover .marquee__content {
    animation-play-state: paused;
}

/* Attempt to size parent based on content. Keep in mind that the parent width is equal to both content containers that stretch to fill the parent. */
.marquee--fit-content {
    max-width: fit-content;
}

/* A fit-content sizing fix: Absolute position the duplicate container. This will set the size of the parent wrapper to a single child container. Shout out to Olavi's article that had this solution 👏 @link: https://olavihaapala.fi/2021/02/23/modern-marquee.html  */
.marquee--pos-absolute .marquee__content:last-child {
    position: absolute;
    top: 0;
    left: 0;
}

/* Enable position absolute animation on the duplicate content (last-child) */
.enable-animation .marquee--pos-absolute .marquee__content:last-child {
    animation-name: scroll-abs;
}

@keyframes scroll-abs {
    from {
        transform: translateX(calc(100% + var(--gap)));
    }

    to {
        transform: translateX(0);
    }
}

/* ========== */

:root {
    --theme-deafult: #FCA310;
    --theme-secondary: #f48885;
}

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

.text-brand {
    color: #FCA310 !important;
}

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

.text-secondary {
    color: #f48885 !important;
}

.bg-light-secondary {
    background-color: rgba(244, 136, 133, 0.2) !important;
    color: #f48885;
}

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

.btn-primary {
    background-color: #FCA310 !important;
    border-color: #FCA310 !important;
}

.btn-secondary {
    background-color: #f48885 !important;
    border-color: #f48885 !important;
}

.bg-light-brand {
    background-color: rgba(252, 163, 16, 0.2) !important;
    color: #FCA310;
}

.product-price,
.product-box .product-img .product-hover ul li a {
    color: #FCA310 !important;
}

.left-header .left-menu-header ul.header-left li span.f-w-600 {
    color: #FCA310;
}

.left-header .left-menu-header ul.header-left li span.f-w-600:before {
    background-color: rgba(252, 163, 16, 0.2) !important;
}

.page-wrapper .page-body-wrapper .logo-icon-wrapper .icon-box-sidebar,
.page-wrapper .page-header .header-wrapper .nav-right>ul>li:nth-child(n+2):hover,
.product-box .product-img .product-hover ul li:hover,
body.dark-only .product-box .product-img .product-hover ul li:hover {
    background-color: #FCA310;
}

@media screen and (max-width: 991px) {
    .page-wrapper .page-header .header-wrapper .left-header .left-menu-header .app-menu {
        background-color: #FCA310;
    }
}

@media only screen and (max-width: 1199px) {
    .page-wrapper.compact-wrapper .page-header .header-wrapper .toggle-sidebar {
        background-color: #FCA310;
    }
}

.widget-joins .widget-card {
    border: unset;
}

@media screen and (max-width: 480px) {
    .widget-joins .widget-card .widget-icon {
        width: 30px;
        height: 30px;
    }

    .widget-joins .widget-card .widget-icon i {
        font-size: 17px;
    }

    .widget-joins .widget-card h6 {
        font-size: 10px;
        margin-bottom: 3px;
    }


    .widget-joins .widget-card h5 {
        font-size: 13px;
        margin-bottom: 3px;
    }
}

.enable-animation .marquee__content {
    animation: scroll 20s linear infinite;
}

@media(min-width:570px) {
    .breadcrumb-absolute-logo {
        display: none
    }
}

.invoice .invo-profile .invo-profile-left .d-flex .flex-grow-1 h4 {
    font-size: 15px;
}

html[dir="rtl"] .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu),
html[dir="rtl"] .input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3) {
    border-right: 1px solid #eeeeee;
}

html[dir="rtl"] .input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-left: 1px solid #eeeeee;
}

[dir=rtl] .input-group-merge .form-control:not(:first-child) {
    padding-left: 15px;
}

[dir=rtl] .dropdown-menu[style] {
    right: auto !important;
    left: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    right: 25px;
    background: transparent;
    border: none;
    top: -4px;
}

[dir=rtl] .select2-container--default .select2-selection--single .select2-selection__clear {
    left: 25px !important;
    right: unset;
}

.select2-selection__clear span {
    zoom: 170%;
}

body.dark-only .select2-selection__clear span {
    color: white;
}

.separator-dashed span {
    min-width: fit-content !important;
}

.select2-selection--multiple {
    height: auto !important;
    min-height: 46.6px !important;
}

.select2-container--default .select2-results__options .select2-results__option--selected {
    background-color: var(--theme-deafult) !important;
    color: white !important;
}

.blog-box .blog-details-second {
    min-height: 215px;
}

.carousel-control-prev,
.carousel-control-next {
    background: #0000;
    border-color: #0000;
}

.carousel-item-img,
.carousel-item,
.carousel-caption {
    border-radius: 15px;
}

.theme-text {
    color: black !important
}

body.dark-only .theme-text {
    color: white !important
}

/* ========== Dashboard Cards ========== */
.dashboard-card-hover {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.dashboard-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

.dashboard-card-body {
    padding: 1.5rem;
}

.dashboard-card-title {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.dashboard-card-value {
    font-size: 1.75rem;
    line-height: 1.2;
}

body.dark-only .dashboard-card-hover {
    background-color: #1e2a3a;
    border-color: #2d3d52 !important;
}

body.dark-only .dashboard-card-hover:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

/* ========== Order Cards ========== */
.order-card {
    border: 1px solid #f1f3f5;
    border-radius: 14px;
    transition: all 0.25s ease;
}

.order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.order-card .card-body {
    padding: 1rem 1.25rem;
}

.order-card .badge {
    font-weight: 600;
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
}

.order-image-wrapper {
    overflow: hidden;
    border-radius: 14px 0 0 14px;
    background: #f8f9fa;
}

.order-image-wrapper .ratio-container {
    height: 100%;
}

.order-card .order-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
}

.order-action-btn {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border: none;
}

.order-card-body .btn {
    border-radius: 10px;
}

.order-progress-wrapper {
    border-top: 1px dashed #e9ecef;
    padding: 0.75rem 1rem 1.25rem;
}

@media (max-width: 767.98px) {
    .order-image-wrapper {
        border-radius: 14px 14px 0 0;
    }

    .order-card .card-body {
        padding: 1rem;
    }
}

body.dark-only .order-card {
    background-color: #1b2635;
    border-color: #2a3a4f;
}

body.dark-only .order-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

body.dark-only .order-image-wrapper {
    background: #182130;
}

body.dark-only .order-progress-wrapper {
    border-top-color: #32425a;
}

/* ========== Progress Tracker ========== */
.progress-tracker {
    padding: 12px 0;
    overflow: hidden;
}

.progress-steps {
    position: relative;
    z-index: 1;
    padding: 0 6px;
    gap: 6px;
}

.progress-step {
    text-align: center;
    position: relative;
    flex: 1;
}

.step-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 44px;
}

.step-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9ecef;
    border: 2px solid #e9ecef;
    position: relative;
    z-index: 2;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.08);
}

.step-icon i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.step-line {
    position: absolute;
    top: 50%;
    left: calc(50% + 22px);
    width: 120%;
    height: 2px;
    background-color: #e9ecef;
    transform: translateY(-50%);
    z-index: 1;
    transition: all 0.35s ease;
}

.progress-step:last-child .step-line {
    display: none;
}

.step-line.completed {
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
}

.progress-step.completed .step-icon {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

.progress-step.completed .step-icon i {
    color: white;
}


.progress-step.current .step-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 14px rgba(0, 123, 255, 0.28);
    animation: pulse 1.8s ease-in-out infinite;
}

.progress-step.current .step-icon i {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 16px rgba(0, 123, 255, 0.4);
    }

    50% {
        box-shadow: 0 6px 24px rgba(0, 123, 255, 0.6);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.step-label {
    font-size: 12.5px;
    margin-top: 6px;
}

.step-label p {
    font-size: 0.68rem;
    margin: 0;
    font-weight: 500;
}

/* Dark Mode Progress Tracker */
body.dark-only .step-icon {
    background-color: #4a5568;
    border-color: #4a5568;
}

body.dark-only .step-line {
    background-color: #4a5568;
}

body.dark-only .progress-step.completed .step-icon {
    background-color: #28a745;
    border-color: #28a745;
}

body.dark-only .step-line.completed {
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
}

body.dark-only .progress-step.current .step-icon {
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
    animation: pulse-dark 2s ease-in-out infinite;
}

@keyframes pulse-dark {

    0%,
    100% {
        box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
    }

    50% {
        box-shadow: 0 6px 24px rgba(255, 255, 255, 0.5);
    }
}

/* Progress Tracker Responsive */
@media (min-width: 577px) and (max-width: 1150px) {
    .step-line {
        width: 160%;
    }
}

@media (min-width: 1151px) and (max-width: 1399px) {
    .step-line {
        width: 200%;
    }
}

@media (min-width: 1400px) and (max-width: 1600px) {
    .step-icon-wrapper {
        width: 38px;
    }

    .step-icon {
        width: 38px;
        height: 38px;
    }

    .step-icon i {
        font-size: 16px;
    }

    .step-line {
        left: calc(50% + 19px);
        width: 220%;
    }
}

@media (min-width: 1601px) {
    .step-line {
        width: 280%;
    }
}

@media (max-width: 768px) {
    .progress-tracker {
        padding: 10px 0;
    }

    .step-icon-wrapper {
        width: 36px;
    }

    .step-icon {
        width: 36px;
        height: 36px;
    }

    .step-icon i {
        font-size: 14px;
    }

    .step-label p {
        font-size: 0.64rem !important;
    }

    .step-line {
        left: calc(50% + 18px);
        width: 140%;
    }
}

@media (max-width: 480px) {
    .progress-tracker {
        padding: 8px 0;
    }

    .progress-steps {
        gap: 4px;
    }

    .step-icon-wrapper {
        width: 30px;
    }

    .step-icon {
        width: 30px;
        height: 30px;
        border: 2px solid #e9ecef;
    }

    .step-icon i {
        font-size: 12px;
    }

    .step-label p {
        font-size: 0.6rem !important;
    }

    .step-line {
        left: calc(50% + 15px);
        width: 130%;
        height: 2px;
    }
}

.avatar {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
}

.avatar img {
    width: 100%;
    height: 100%;
}

.avatar-lg {
    width: 3.5rem;
    height: 3.5rem;
}

.notification-dropdown {
    max-height: 475px;
    overflow-y: scroll !important;
}

/* Modern Home Page Styles */
/* Modern Announcement Styles */
.modern-announcement-section {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.modern-announcement-banner {
    padding: 1rem 0;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.announcement-item {
    display: flex;
    align-items: center;
    margin: 0 2rem;
    white-space: nowrap;
}

.announcement-icon {
    font-size: 0.9rem;
    margin-right: 0.75rem;
    opacity: 0.9;
}

.announcement-text {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Modern Hero Section */
.modern-hero-section {
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.modern-carousel {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.modern-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.05));
}

.modern-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 1;
}

.modern-carousel-prev {
    left: 2rem;
}

.modern-carousel-next {
    right: 2rem;
}

.modern-carousel-control:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.modern-carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
    margin: 0;
    list-style: none;
}

.modern-carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    opacity: 1;
    text-indent: 0;
    margin: 0;
    cursor: pointer;
}

.modern-carousel-indicators button.active {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.modern-carousel-indicators button:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.landing-page .landing-header.sticky {
    background-color: #000;
}

/* Modern Section Headers */
.modern-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.modern-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #FCA310, #ff8c00);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(252, 163, 16, 0.3);
}

.modern-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.modern-section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Modern Products Section */
.modern-products-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

/* Modern Brands Section */
.modern-brands-section {
    padding: 4rem 0;
}

.modern-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.modern-brand-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.modern-brand-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.modern-brand-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.modern-brand-image-wrapper {
    position: relative;
    overflow: hidden;
}

.modern-brand-image {
    transition: transform 0.4s ease;
}

.modern-brand-card:hover .modern-brand-image {
    transform: scale(1.05);
}

.modern-brand-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(252, 163, 16, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-brand-card:hover .modern-brand-overlay {
    opacity: 1;
}

.modern-brand-content {
    text-align: center;
    color: white;
}

.modern-brand-content i {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    display: block;
}

.modern-brand-content span {
    font-weight: 600;
    font-size: 0.9rem;
}

.modern-brand-info {
    padding: 1rem;
    text-align: center;
}

.modern-brand-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.4;
}

/* Modern Empty State */
.modern-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.modern-empty-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1.5rem;
}

.modern-empty-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 0.75rem;
}

.modern-empty-description {
    color: #999;
    font-size: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-section-title {
        font-size: 2rem;
    }

    .modern-carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .modern-carousel-prev {
        left: 1rem;
    }

    .modern-carousel-next {
        right: 1rem;
    }

    .modern-brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .modern-hero-section,
    .modern-products-section,
    .modern-brands-section {
        padding: 2rem 0;
    }

    .modern-brand-info {
        padding: 0.75rem;
    }

    .modern-brand-name {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .modern-section-title {
        font-size: 1.75rem;
    }

    .announcement-item {
        margin: 0 1rem;
    }

    .modern-brands-grid {
        gap: 0.75rem;
    }
}

/* Dark mode support */
body.dark-only .modern-section-title {
    color: #ffffff;
}

body.dark-only .modern-section-subtitle {
    color: #ccc;
}

body.dark-only .modern-brand-card {
    background: #2a2a2a;
}

body.dark-only .modern-brand-name {
    color: #ffffff;
}

body.dark-only .modern-empty-state {
    background: #2a2a2a;
}

body.dark-only .modern-empty-title {
    color: #ccc;
}

body.dark-only .modern-products-section {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}


/* Modern Category Filter Buttons */
.category-filter-container {
    margin-bottom: 24px;
    border-radius: 12px;
}

.category-filter-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
}

.category-filter-scroll::-webkit-scrollbar {
    height: 5px;
}

.category-filter-scroll::-webkit-scrollbar-thumb {
    background: #fca310;
    border-radius: 4px;
}

.category-filter-wrapper {
    display: flex;
    gap: 10px;
    width: max-content;
    min-width: 100%;
}

.filter-category-button {
    padding: 10px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    background: #ffffff;
    color: #64748b;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    outline: none;
}

.filter-category-button:hover {
    border-color: #fca310;
    color: #fca310;
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.15);
}

.filter-category-button.active {
    background: #fca310;
    border-color: #fca310;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    animation: buttonActivate 0.3s ease-out;
}

/* Click Animation */
.filter-category-button:active {
    transform: translateY(0) scale(0.95);
    transition: transform 0.1s ease;
}

/* Ripple Effect */
.filter-category-button {
    position: relative;
    overflow: hidden;
}

.filter-category-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    pointer-events: none;
    opacity: 0;
}

.filter-category-button.ripple-animate::after {
    width: 300px;
    height: 300px;
    opacity: 1;
    transition: width 0.4s ease, height 0.4s ease, opacity 0.6s ease;
}

.filter-category-button.active::after {
    background: rgba(255, 255, 255, 0.2);
}

/* Button Activation Animation */
@keyframes buttonActivate {
    0% {
        transform: translateY(-1px) scale(1);
    }

    30% {
        transform: translateY(-1px) scale(0.95);
    }

    60% {
        transform: translateY(-1px) scale(1.02);
    }

    100% {
        transform: translateY(-1px) scale(1);
    }
}

/* Pulse animation for active button */
@keyframes activePulse {

    0%,
    100% {
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3), 0 0 0 0 rgba(59, 130, 246, 0.4);
    }

    50% {
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3), 0 0 0 6px rgba(59, 130, 246, 0);
    }
}

.filter-category-button.active {
    animation: buttonActivate 0.3s ease-out, activePulse 2s infinite 0.3s;
}

.filter-category-button.active::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.filter-category-button.active .button-text {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.filter-category-button.active:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-3px);
    box-shadow:
        0 20px 25px -5px rgba(102, 126, 234, 0.4),
        0 10px 10px -5px rgba(102, 126, 234, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Animation for button state transitions */
@keyframes buttonActivate {
    0% {
        transform: scale(1) translateY(-2px);
    }

    50% {
        transform: scale(0.95) translateY(-1px);
    }

    100% {
        transform: scale(1) translateY(-2px);
    }
}

.filter-category-button.active {
    animation: buttonActivate 0.3s ease-out;
}

/* Focus states for accessibility */
.filter-category-button:focus {
    outline: none;
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05),
        0 0 0 3px rgba(66, 153, 225, 0.5);
}

.filter-category-button.active:focus {
    box-shadow:
        0 10px 15px -3px rgba(102, 126, 234, 0.4),
        0 4px 6px -2px rgba(102, 126, 234, 0.25),
        0 0 0 3px rgba(255, 255, 255, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .category-filter-wrapper {
        gap: 8px;
    }

    .filter-category-button {
        padding: 10px 20px;
        min-height: 42px;
        font-size: 13px;
    }

    .category-filter-container {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .filter-category-button {
        padding: 8px 16px;
        min-height: 38px;
        font-size: 12px;
    }

    .category-filter-container {
        margin-bottom: 1rem;
    }
}

/* Additional enhanced effects */
.filter-category-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
    z-index: 1;
}

.filter-category-button:hover::after {
    transform: translateX(100%);
}

.filter-category-button.active::after {
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
}

/* Smooth loading animation for initial render */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-filter-wrapper .filter-category-button {
    animation: fadeInUp 0.6s ease-out forwards;
}

.category-filter-wrapper .filter-category-button:nth-child(1) {
    animation-delay: 0.1s;
}

.category-filter-wrapper .filter-category-button:nth-child(2) {
    animation-delay: 0.2s;
}

.category-filter-wrapper .filter-category-button:nth-child(3) {
    animation-delay: 0.3s;
}

.category-filter-wrapper .filter-category-button:nth-child(4) {
    animation-delay: 0.4s;
}

.category-filter-wrapper .filter-category-button:nth-child(5) {
    animation-delay: 0.5s;
}

.category-filter-wrapper .filter-category-button:nth-child(n+6) {
    animation-delay: 0.6s;
}

/* Enhanced hover states with gradient borders */
.filter-category-button {
    background-clip: padding-box;
}

.filter-category-button.active {
    border: 2px solid;
    border-image: linear-gradient(45deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1)) 1;
}

/* Pulse effect for active button */
@keyframes activePulse {

    0%,
    100% {
        box-shadow:
            0 10px 15px -3px rgba(102, 126, 234, 0.4),
            0 4px 6px -2px rgba(102, 126, 234, 0.25),
            0 0 0 0 rgba(102, 126, 234, 0.3);
    }

    50% {
        box-shadow:
            0 10px 15px -3px rgba(102, 126, 234, 0.4),
            0 4px 6px -2px rgba(102, 126, 234, 0.25),
            0 0 0 8px rgba(102, 126, 234, 0);
    }
}

.filter-category-button.active {
    animation: activePulse 2s infinite;
}

.vertical-align-middle {
    vertical-align: middle !important;
}

.btn-active {
    background-color: var(--theme-deafult) !important;
    border-color: var(--theme-deafult) !important;
    color: #fff !important;
}

.dark-only {
    background-color: #10101c !important;
}

/* Ensure `.text-dark` remains visible in dark mode */
.text-dark {
    color: #212529 !important;
}

body.dark-only .text-dark {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ========== User Profile Styles ========== */
.user-profile-card {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.user-profile-border {
    border-color: #e9ecef !important;
}

.user-profile-avatar-wrapper {
    position: relative;
    display: inline-block;
    width: 110px;
    height: 110px;
}

.user-profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.user-verified-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border: 3px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: white;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.4);
}

.user-profile-name {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.user-role-badge {
    background: linear-gradient(135deg, rgba(252, 163, 16, 0.15), rgba(252, 163, 16, 0.1));
    color: #FCA310;
    border: 1px solid rgba(252, 163, 16, 0.3);
    padding: 0.4rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
}

.user-verified-mobile-badge {
    background: linear-gradient(135deg, rgba(244, 136, 133, 0.15), rgba(244, 136, 133, 0.1));
    color: #f48885;
    border: 1px solid rgba(244, 136, 133, 0.3);
    padding: 0.4rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
}

.user-status-badge {
    padding: 0.4rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
}

.user-status-active {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15), rgba(32, 201, 151, 0.1));
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.user-status-inactive {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15), rgba(220, 53, 69, 0.1));
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.user-info-text {
    color: #6c757d;
    font-size: 0.9rem;
}

.user-contact-info {
    font-size: 0.95rem;
    color: #495057;
}

.user-contact-info span {
    display: inline-flex;
    align-items: center;
}

.user-action-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.user-action-add {
    background: linear-gradient(135deg, rgba(252, 163, 16, 0.15), rgba(252, 163, 16, 0.1));
    color: #FCA310;
}

.user-action-add:hover {
    background: linear-gradient(135deg, #FCA310, #ff8c00);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252, 163, 16, 0.3);
}

.user-action-withdraw {
    background: linear-gradient(135deg, rgba(244, 136, 133, 0.15), rgba(244, 136, 133, 0.1));
    color: #f48885;
}

.user-action-withdraw:hover {
    background: linear-gradient(135deg, #f48885, #f5576c);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 136, 133, 0.3);
}

.user-action-edit {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.15), rgba(108, 117, 125, 0.1));
    color: #6c757d;
}

.user-action-edit:hover {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.user-stat-card {
    padding: 1.5rem;
    border-radius: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.user-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.user-stat-balance {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.05));
    border-color: rgba(102, 126, 234, 0.2);
}

.user-stat-balance .user-stat-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.user-stat-points {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.08), rgba(245, 87, 108, 0.05));
    border-color: rgba(240, 147, 251, 0.2);
}

.user-stat-points .user-stat-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.user-stat-orders {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.08), rgba(0, 242, 254, 0.05));
    border-color: rgba(79, 172, 254, 0.2);
}

.user-stat-orders .user-stat-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.user-stat-arrived {
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.08), rgba(56, 249, 215, 0.05));
    border-color: rgba(67, 233, 123, 0.2);
}

.user-stat-arrived .user-stat-icon {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.user-stat-label {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.user-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #212529;
    line-height: 1.2;
}

.user-stat-sublabel {
    font-size: 0.8rem;
    color: #6c757d;
    opacity: 0.8;
}

.user-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.user-additional-info {
    padding: 1.25rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.user-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(252, 163, 16, 0.1), rgba(252, 163, 16, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FCA310;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.user-info-label {
    color: #6c757d;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

/* Dark Mode */
body.dark-only .user-profile-card {
    background: #1e2a3a;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

body.dark-only .user-profile-border {
    border-color: #2d3d52 !important;
}

body.dark-only .user-profile-avatar {
    border-color: #1e2a3a;
}

body.dark-only .user-verified-badge {
    border-color: #1e2a3a;
}

body.dark-only .user-role-badge {
    background: linear-gradient(135deg, rgba(252, 163, 16, 0.2), rgba(252, 163, 16, 0.15));
    border-color: rgba(252, 163, 16, 0.4);
}

body.dark-only .user-verified-mobile-badge {
    background: linear-gradient(135deg, rgba(244, 136, 133, 0.2), rgba(244, 136, 133, 0.15));
    border-color: rgba(244, 136, 133, 0.4);
}

body.dark-only .user-status-active {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.2), rgba(32, 201, 151, 0.15));
    border-color: rgba(40, 167, 69, 0.4);
}

body.dark-only .user-status-inactive {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(220, 53, 69, 0.15));
    border-color: rgba(220, 53, 69, 0.4);
}

body.dark-only .user-info-text {
    color: #a0aec0;
}

body.dark-only .user-contact-info {
    color: #cbd5e0;
}

body.dark-only .user-action-add {
    background: linear-gradient(135deg, rgba(252, 163, 16, 0.2), rgba(252, 163, 16, 0.15));
}

body.dark-only .user-action-withdraw {
    background: linear-gradient(135deg, rgba(244, 136, 133, 0.2), rgba(244, 136, 133, 0.15));
}

body.dark-only .user-action-edit {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.2), rgba(108, 117, 125, 0.15));
    color: #cbd5e0;
}

body.dark-only .user-stat-card {
    background: #2a3a4f;
    border-color: #3a4a5f;
}

body.dark-only .user-stat-balance {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.1));
    border-color: rgba(102, 126, 234, 0.3);
}

body.dark-only .user-stat-points {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.15), rgba(245, 87, 108, 0.1));
    border-color: rgba(240, 147, 251, 0.3);
}

body.dark-only .user-stat-orders {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.15), rgba(0, 242, 254, 0.1));
    border-color: rgba(79, 172, 254, 0.3);
}

body.dark-only .user-stat-arrived {
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.15), rgba(56, 249, 215, 0.1));
    border-color: rgba(67, 233, 123, 0.3);
}

body.dark-only .user-stat-label {
    color: #a0aec0;
}

body.dark-only .user-stat-value {
    color: #e2e8f0;
}

body.dark-only .user-stat-sublabel {
    color: #a0aec0;
}

body.dark-only .user-additional-info {
    background: #2a3a4f;
    border-color: #3a4a5f;
}

body.dark-only .user-info-icon {
    background: linear-gradient(135deg, rgba(252, 163, 16, 0.2), rgba(252, 163, 16, 0.1));
}

body.dark-only .user-info-label {
    color: #a0aec0;
}

@media (max-width: 991px) {
    .user-profile-name {
        font-size: 1.5rem;
    }

    .user-profile-avatar {
        width: 90px;
        height: 90px;
    }

    .user-action-buttons {
        width: 100%;
        justify-content: flex-start;
        margin-top: 1rem;
    }
}

@media (max-width: 575px) {
    .user-profile-avatar {
        width: 80px;
        height: 80px;
    }

    .user-profile-name {
        font-size: 1.35rem;
    }

    .user-stat-value {
        font-size: 1.5rem;
    }

    .user-stat-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

/* Ship-only order show page — mobile improvements */

/* keep meta text on one line on desktop */
.order-show-header .order-meta .meta-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 767.98px) {
    .order-show-header {
        gap: .5rem;
    }

    .order-show-header .order-header-main {
        flex-direction: column !important;
        align-items: flex-start;
        gap: .5rem;
    }

    /* stack the small meta (created / est. arrival / created by) */
    .order-show-header .order-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: .375rem;
        width: 100%;
    }

    .order-show-header .order-meta>.meta-item {
        width: 100%;
        align-items: center;
        gap: .5rem;
    }

    /* allow previously non-wrapping text to wrap on small screens */
    .order-show-header .order-meta .meta-text {
        white-space: normal !important;
        overflow-wrap: anywhere;
    }

    .order-show-header .order-icon-wrapper {
        display: flex;
        align-items: center;
        gap: .5rem;
    }

    .order-show-header .order-icon-wrapper i {
        font-size: 1.4rem;
    }

    .order-show-header h3 {
        font-size: 1.05rem;
        margin-bottom: 0.25rem;
    }

    .order-show-header .badge.rounded-pill {
        margin-top: .25rem;
    }

    .order-show-header .order-actions {
        width: 100%;
        justify-content: flex-start;
        gap: .5rem;
        margin-top: .5rem;
        flex-wrap: wrap;
    }

    .order-show-header .order-actions .btn {
        padding: .45rem .6rem;
        font-size: .85rem;
    }

    .timeline-container {
        padding: .75rem;
    }

    .card-body.p-5 {
        padding: 1.25rem !important;
    }
}

@media (max-width: 575px) {
    .order-show-header .order-meta>.meta-item {
        gap: .375rem;
    }

    .order-show-header .order-actions .btn {
        flex: 1 1 100%;
    }

    .order-show-header .order-icon-wrapper i {
        font-size: 1.25rem;
    }

    .order-show-header h3 {
        font-size: 1rem;
    }
}

.user-stat-value {
    font-size: 1.5rem;
}

.user-stat-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
}
}