/* ===================================
   DHL CUSTOM STYLES
   ===================================

   Brand Colors:
   - Primary Yellow: #FFCC00 (DHL Yellow)
   - Secondary Red: #D40511 (DHL Red)
   - Dark Yellow: #E6B800
   - Light Yellow: #FFF5CC

   Sections:
   1. Utility Classes
   2. Brand Colors & Theming
   3. Layout & Print Styles
   4. Loading Animations & Preloader
   5. Responsive Preloader Styles
   6. Keyframe Animations
   7. Form Components
   8. Header & Navigation Responsive
   9. Action Buttons & Modals
   10. Scrollbar Styling
   11. Text Truncation Utilities
   12. DHL Brand Variables & Theme Colors
   13. Sidebar Navigation Styling
   14. Dashboard Components
   15. Cards & UI Elements
   16. Button Styling (Primary Yellow)
   16B. Secondary Button Styling (DHL Red)
   17. Product & E-commerce Styling
   18. Header Styling
   19. Responsive Header Styling
   20. Pagination Styling
   21. Widget & Card Components
   22. Responsive Widget Styling
   23. Animation Timing Controls
   24. Responsive Layout Controls
   25. Invoice & Form Styling
   26. RTL Support
   27. Utility & Helper Classes
   28. Dark Mode Overrides
   29. Layout & Structure
   30. Ribbon Components

   Additional Features:
   - DHL Brand Utility Classes
   - Custom Form Focus States
   - Alert Components
   - Checkbox/Radio Styling
   ================================== */

/* ========== 1. UTILITY CLASSES ========== */
.zoom-75 {
    zoom: 75%;
}

/* ========== 35. QR SCANNER MODAL STYLES ========== */
#qr-scanner-modal .modal-dialog-scrollable .modal-body {
    overflow-y: auto;
}

#qr-scanner-modal .qr-camera-section,
#qr-scanner-modal .qr-codes-section {
    min-height: 400px;
}

/* Mobile responsive fixes for QR Scanner */
@media (max-width: 991.98px) {
    #qr-scanner-modal .qr-camera-section {
        min-height: 50vh;
        max-height: 50vh;
    }

    #qr-scanner-modal .qr-codes-section {
        min-height: 50vh;
    }

    #qr-scanner-modal .qr-codes-wrapper {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    #qr-scanner-modal .qr-codes-body {
        flex: 1;
        overflow-y: auto;
        max-height: calc(50vh - 120px);
    }

    #qr-scanner-modal .modal-body {
        padding: 0 !important;
    }
}

/* ========== DHM CUSTOM BG-* UTILITY CLASSES ========== */
.bg-primary {
    background-color: #FFCC00 !important;
    /* DHL Yellow */
}

.bg-secondary {
    background-color: #D40511 !important;
    /* DHL Red */
}

.bg-success {
    background-color: #22c55e !important;
    /* DHM Green */
}

.bg-danger {
    background-color: #ef4444 !important;
    /* DHM Red */
}

.bg-warning {
    background-color: #E6B800 !important;
    /* Dark Yellow */
}

.bg-info {
    background-color: #0ea5e9 !important;
    /* Info Blue */
}

.bg-light {
    background-color: #FFF5CC !important;
    /* Light Yellow */
}

.bg-dark {
    background-color: #181828 !important;
    /* DHM Dark */
}

.bg-white {
    background-color: #fff !important;
}

.bg-transparent {
    background-color: transparent !important;
}

.zoom-50 {
    zoom: 50%;
}

/* ========== 2. BRAND COLORS & THEMING ========== */
.table-primary {
    --bs-table-bg: #FFF5CC !important;
}

.table thead.table-primary tr th {
    color: #D40511 !important;
    font-weight: 600;
}

/* ========== 3. LAYOUT & PRINT STYLES ========== */
.page-a5 {
    height: 14.85cm;
}

.page-a5:not(:last-child) {
    border-bottom: 1px solid #D40511;
}

@page {
    margin: 0;
}

@media print {
    tr {
        font-size: 12px !important;
    }

    th,
    td {
        padding: 5px !important;
    }

    body {
        background-color: white !important;
    }
}

.table-bordered thead,
.table-bordered tbody,
.table-bordered tfoot,
.table-bordered tr,
.table-bordered td,
.table-bordered th {
    border-color: #E6B800 !important;
}

/* ========== 4. LOADING ANIMATIONS & PRELOADER ========== */
#site {
    opacity: 0;
    transition: all 1s ease;
}

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

#preloader: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 #FFCC00;
    border-top: 1.1px solid transparent;
    border-radius: 100%;
}

#preloader>.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;
}

/* ========== 5. RESPONSIVE PRELOADER STYLES ========== */
@media only screen and (min-width:768px) {
    #preloader {
        height: 60.1px;
        width: 60.1px;
        margin-top: -30.1px;
        margin-left: -30.1px;
    }

    #preloader: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;
    }

    #preloader>.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;
    }

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

/* ========== 6. KEYFRAME ANIMATIONS ========== */
@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

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

@keyframes wink {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ========== 7. FORM COMPONENTS ========== */
.checkbox label::before {
    top: 0 !important;
}

/* ========== 8. HEADER & NAVIGATION RESPONSIVE ========== */
/* @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;
} */

@media only screen and (max-width: 1366px) {
    .page-wrapper .page-header .header-wrapper .nav-right>ul>li:first-child {
        display: flex !important;
    }
}

/* ========== 9. ACTION BUTTONS & MODALS ========== */
div .action i {
    color: #D40511;
}

.modal-title {
    font-size: 24px !important;
    color: #D40511;
    font-weight: 600;
}

/* ========== 10. SCROLLBAR STYLING ========== */
.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: #FFCC00;
    border-radius: 10px;
}

.status-scroll::-webkit-scrollbar-thumb:hover {
    background: #E6B800;
}

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

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

.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;
}

/* ========== 11. TEXT TRUNCATION UTILITIES ========== */
.ellipsis-1-line {
    -webkit-box-orient: vertical;
    display: -webkit-box !important;
    overflow: hidden;
    -webkit-line-clamp: 1;
    line-clamp: 1;
}

.ellipse-2-lines {
    -webkit-line-clamp: 2;
    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: #405189;
    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;
    margin-right: unset;
}

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

/* html[dir="rtl"] .pretty .state label {
        margin-left: 25px;
    } */

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;
}

.toolbar-margin {
    margin-left: auto;
}

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;
    font-weight: bold;
    margin-right: 2px;
    background-color: var(--theme-default) !important;
    border-color: var(--theme-default) !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-default) !important;
    border-color: #2d33ee !important;
    color: #fff;
    margin-right: 8px !important;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: default;
    float: left;
}

.display-none {
    display: none;
}


/* ========== IMPROVED MARQUEE STYLES ========== */
/* Source: https://stackoverflow.com/a - Posted by Foysal Kabir Shimul */
/* Retrieved 2025-11-18, License - CC BY-SA 4.0 */

.marquee-container {
    overflow: hidden !important;
    position: relative;
    width: 100%;
    padding: 0.75rem 0;
}

.marquee {
    display: inline-block !important;
    white-space: nowrap !important;
    animation: dhm-scroll 10s linear infinite !important;
    animation-play-state: running !important;
}

.marquee__item {
    display: inline-block !important;
    padding: 0 30px;
    white-space: nowrap;
}

.marquee__item .announcement-icon {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.marquee__item .announcement-text {
    font-weight: 500;
    font-size: 0.95rem;
}

@keyframes dhm-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.333%);
    }
}

/* Reverse animation for RTL/Arabic */
.marquee--reverse {
    animation-direction: reverse;
}

/* Pause on hover */
.marquee-container:hover .marquee {
    animation-play-state: paused !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .marquee-container {
        padding: 0.5rem 0;
    }

    .marquee__item {
        padding-right: 35px;
    }

    .marquee__item .announcement-text {
        font-size: 0.875rem;
    }

    .marquee {
        animation-duration: 20s;
    }
}

/* ========== 11. DHL BRAND VARIABLES & THEME COLORS ========== */
:root {
    --bs-primary: #FFCC00;
    --theme-default: #FFCC00;
    --theme-secondary: #D40511;
    --dhl-yellow: #FFCC00;
    --dhl-red: #D40511;
    --dhl-dark-yellow: #E6B800;
    --dhl-light-yellow: #FFF5CC;
}

/* ========== 12. SIDEBAR NAVIGATION STYLING ========== */
.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .sidebar-links .simplebar-wrapper .simplebar-mask .simplebar-content-wrapper .simplebar-content>li .sidebar-link:before {
    background-color: var(--dhl-yellow);
    box-shadow: 1.5px 0.33px 16px 0px rgba(255, 204, 0, 0.6);
}

.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .sidebar-links .simplebar-wrapper .simplebar-mask .simplebar-content-wrapper .simplebar-content>li .sidebar-link.active:hover span {
    color: var(--dhl-yellow);
}

.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .sidebar-links .simplebar-wrapper .simplebar-mask .simplebar-content-wrapper .simplebar-content>li .sidebar-submenu li a.active {
    color: var(--dhl-yellow);
}

.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .sidebar-links .simplebar-wrapper .simplebar-mask .simplebar-content-wrapper .simplebar-content>li .sidebar-submenu li a.active:after {
    border-color: var(--dhl-yellow);
}

/* ========== 13. DASHBOARD COMPONENTS ========== */
.dashboard-2 .icon-right-primary {
    background-color: var(--dhl-yellow);
}

.dashboard-2 .header-text-primary {
    color: #000000;
    font-weight: 600;
}

body.dark-only .dashboard-2 .header-text-primary {
    color: #ffffff;
}

/* ========== 14. CARDS & UI ELEMENTS ========== */
.card-header .d-flex .flex-grow-1 .square-after:after {
    background-color: rgba(255, 204, 0, 0.4);
}

.dashboard-2 .shap-block .rounded-shap i {
    background-color: rgba(255, 204, 0, 0.6);
}

/* ========== 15. BRAND UTILITY CLASSES ========== */
.bg-brand {
    background-color: var(--dhl-yellow) !important;
}

.text-brand {
    color: var(--dhl-yellow) !important;
}

/* ========== 16. BUTTON STYLING ========== */
.btn-primary {
    background-color: var(--dhl-yellow) !important;
    border-color: var(--dhl-yellow) !important;
    color: #000000 !important;
    font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--dhl-dark-yellow) !important;
    border-color: var(--dhl-dark-yellow) !important;
    color: #000000 !important;
}

.btn-outline-primary {
    color: var(--dhl-yellow) !important;
    border-color: var(--dhl-yellow) !important;
    background-color: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-check:checked+.btn-outline-primary,
.btn-check:active+.btn-outline-primary,
.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-outline-primary.dropdown-toggle.show {
    color: #000000 !important;
    background-color: var(--dhl-yellow) !important;
    border-color: var(--dhl-yellow) !important;
}

/* ========== 16B. SECONDARY BUTTON STYLING (DHL RED) ========== */
.btn-secondary {
    background-color: var(--dhl-red) !important;
    border-color: var(--dhl-red) !important;
    color: #ffffff !important;
    font-weight: 600;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: #B8040E !important;
    border-color: #B8040E !important;
    color: #ffffff !important;
}

.btn-outline-secondary {
    color: var(--dhl-red) !important;
    border-color: var(--dhl-red) !important;
    background-color: transparent;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active,
.btn-outline-secondary.active {
    color: #ffffff !important;
    background-color: var(--dhl-red) !important;
    border-color: var(--dhl-red) !important;
}

.bg-light-secondary {
    background-color: rgba(212, 5, 17, 0.1) !important;
    color: var(--dhl-red);
}

.text-secondary {
    color: var(--dhl-red) !important;
}

/* ========== 17. PRODUCT & E-COMMERCE STYLING ========== */
.product-price,
.product-box .product-img .product-hover ul li a {
    color: var(--dhl-yellow) !important;
}

/* ========== 18. HEADER STYLING ========== */
.left-header .left-menu-header ul.header-left li span.f-w-600 {
    color: var(--dhl-yellow);
}

/* ========== 19. TRACKING PAGE STYLES - MODERN REDESIGN ========== */

/* ========== MAIN WRAPPER ========== */
.tracking-page-modern {
    padding: 2rem 0 4rem;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

body.dark-only .tracking-page-modern {
    background: linear-gradient(135deg, #1a1d23 0%, #111318 100%);
}

/* ========== HERO SEARCH SECTION ========== */
.tracking-hero-section {
    margin-bottom: 3rem;
}

.tracking-hero-card {
    background: linear-gradient(135deg, #ffffff 0%, #fffef8 100%);
    border-radius: 2rem;
    padding: 3.5rem 2.5rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(255, 204, 0, 0.15);
    border: 1px solid rgba(255, 204, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.tracking-hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.08) 0%, transparent 70%);
    animation: rotate-gradient 20s linear infinite;
}

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

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

.hero-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.hero-icon-circle {
    width: 100px;
    height: 100px;
    background: var(--dhl-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 15px 40px rgba(255, 204, 0, 0.4);
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes float {

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

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

.hero-icon-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--dhl-yellow);
    opacity: 0;
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1d23;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #6c757d;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

body.dark-only .tracking-hero-card {
    background: linear-gradient(135deg, #1f2329 0%, #1a1d23 100%);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-only .hero-title {
    color: #ffffff;
}

body.dark-only .hero-subtitle {
    color: #9ca3af;
}

/* ========== STATUS BANNER ========== */
.tracking-status-banner {
    margin-bottom: 2rem;
}

.status-banner-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.8);
    flex-wrap: wrap;
}

.status-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.status-icon-box {
    width: 70px;
    height: 70px;
    background: var(--dhl-yellow);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.4);
    flex-shrink: 0;
}

.status-info {
    flex: 1;
}

.status-tracking-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1d23;
    margin-bottom: 0.5rem;
}

.status-timestamp {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.btn-view-details {
    background: var(--dhl-yellow);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 204, 0, 0.3);
}

.btn-view-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 204, 0, 0.5);
    background: #f5c200;
    color: white;
}

body.dark-only .status-banner-content {
    background: linear-gradient(135deg, #1f2329 0%, #1a1d23 100%);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-only .status-tracking-number {
    color: #ffffff;
}

body.dark-only .status-timestamp {
    color: #9ca3af;
}

/* ========== PROGRESS TRACKER ========== */
.tracking-progress-section {
    margin-bottom: 2rem;
}

.progress-card {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.progress-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1d23;
    margin: 0;
    display: flex;
    align-items: center;
}

.progress-title i {
    color: var(--dhl-yellow);
}

.progress-status-badge {
    background: linear-gradient(135deg, rgba(40, 199, 111, 0.1) 0%, rgba(34, 197, 94, 0.15) 100%);
    color: #16a34a;
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #16a34a;
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.delivery-progress-tracker {
    padding: 1.5rem 0;
    overflow: hidden;
}

.progress-locations {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.location-point {
    flex: 0 0 calc(20% - 0.5rem);
    width: calc(20% - 0.5rem);
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.location-marker {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.location-marker.completed {
    background: var(--dhl-yellow);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.4);
}

.location-marker.pending {
    background: #e9ecef;
    color: #6c757d;
    border: 3px dashed #ced4da;
}

.location-details {
    width: 100%;
    min-width: 0;
}

.location-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.location-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1d23;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.progress-connector {
    flex: 0 0 calc(60% - 1rem);
    width: calc(60% - 1rem);
    min-width: 0;
}

.connector-line {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    position: relative;
    margin-bottom: 1rem;
}

.connector-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--dhl-yellow);
    border-radius: 3px;
    width: 0;
    animation: progress-fill 2s ease-out forwards;
}

.connector-progress[data-progress="75"] {
    animation-name: progress-fill-75;
}

.connector-progress[data-progress="100"] {
    animation-name: progress-fill-100;
}

@keyframes progress-fill-75 {
    from {
        width: 0;
    }

    to {
        width: 75%;
    }
}

@keyframes progress-fill-100 {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.connector-vehicle {
    position: absolute;
    top: 50%;
    left: 75%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dhl-yellow);
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    animation: vehicle-bounce 2s ease-in-out infinite;
    transition: left 0.5s ease-in-out;
}

.connector-vehicle.vehicle-completed {
    left: 100%;
}

@keyframes vehicle-bounce {

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

    50% {
        transform: translate(-50%, -50%) translateY(-5px);
    }
}

.progress-dots {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.progress-dots .dot {
    width: 10px;
    height: 10px;
    background: #e9ecef;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.progress-dots .dot.active {
    background: var(--dhl-yellow);
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

body.dark-only .progress-card {
    background: #1f2329;
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-only .progress-title {
    color: #ffffff;
}

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

body.dark-only .connector-line {
    background: #2d3139;
}

body.dark-only .location-marker.pending {
    background: #2d3139;
    border-color: #3d4149;
}

/* ========== DETAILS GRID ========== */
.tracking-details-section {
    margin-bottom: 2rem;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
}

.detail-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.detail-card-highlight {
    background: rgba(255, 204, 0, 0.05);
    border-color: var(--dhl-yellow);
}

.detail-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 204, 0, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--dhl-yellow);
    flex-shrink: 0;
}

.detail-content {
    flex: 1;
}

.detail-label {
    font-size: 0.8125rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.5rem;
}

.detail-value {
    font-size: 1.125rem;
    color: #1a1d23;
    font-weight: 600;
    margin: 0;
    word-break: break-word;
}

.detail-value-price {
    color: var(--dhl-yellow);
    font-size: 1.5rem;
    font-weight: 700;
}

body.dark-only .detail-card {
    background: #1f2329;
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-only .detail-card-highlight {
    background: rgba(255, 204, 0, 0.08);
}

body.dark-only .detail-value {
    color: #ffffff;
}

body.dark-only .detail-label {
    color: #9ca3af;
}

/* ========== TIMELINE SECTION ========== */
.tracking-timeline-section {
    margin-bottom: 2rem;
}

.timeline-card {
    background: #ffffff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.timeline-card-header {
    background: var(--dhl-yellow);
    padding: 1.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.timeline-header-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.timeline-header-content i {
    font-size: 1.5rem;
    color: white;
}

.timeline-header-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.timeline-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.timeline-body {
    padding: 2.5rem 2rem;
}

.timeline-vertical {
    position: relative;
}

.timeline-entry {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    opacity: 0;
    animation: slideInLeft 0.6s ease forwards;
}

.timeline-entry:last-child {
    margin-bottom: 0;
}

.timeline-entry:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-entry:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-entry:nth-child(3) {
    animation-delay: 0.3s;
}

.timeline-entry:nth-child(4) {
    animation-delay: 0.4s;
}

.timeline-entry:nth-child(5) {
    animation-delay: 0.5s;
}

.timeline-entry:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

.timeline-entry-marker {
    --marker-color: var(--dhl-yellow);
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.marker-icon {
    width: 40px;
    height: 40px;
    background: var(--marker-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 1), 0 0 0 6px var(--marker-color);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.timeline-entry-active .marker-icon {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 1), 0 0 0 8px var(--marker-color), 0 0 20px var(--marker-color);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 1), 0 0 0 12px var(--marker-color), 0 0 30px var(--marker-color);
        transform: scale(1.05);
    }
}

.marker-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(180deg, var(--marker-color) 0%, rgba(108, 117, 125, 0.2) 100%);
    margin-top: 0.35rem;
}

.timeline-entry-content {
    flex: 1;
    padding-top: 0;
}

.entry-card {
    background: #f8f9fa;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.entry-card:hover {
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateX(10px);
}

.entry-header {
    margin-bottom: 0;
}

.entry-title-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.entry-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.entry-status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.entry-timestamp {
    font-size: 0.8125rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.time-separator {
    color: #d1d5db;
}

.entry-description {
    font-size: 0.9375rem;
    color: #495057;
    line-height: 1.6;
    margin: 0;
}

body.dark-only .timeline-card {
    background: #1f2329;
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-only .entry-card {
    background: #2a2e35;
    border-color: #3d4149;
}

body.dark-only .entry-card:hover {
    background: #2d3139;
}

body.dark-only .entry-title {
    color: #ffffff;
}

body.dark-only .entry-description {
    color: #d1d5db;
}

body.dark-only .marker-icon {
    box-shadow: 0 0 0 6px #1f2329, 0 0 0 8px var(--marker-color);
}

body.dark-only .timeline-entry-active .marker-icon {
    box-shadow: 0 0 0 6px #1f2329, 0 0 0 8px var(--marker-color), 0 0 20px var(--marker-color);
}

/* ========== SUPPORT SECTION ========== */
.tracking-support-section {
    margin-bottom: 2rem;
}

.support-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.8);
    flex-wrap: wrap;
}

.support-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.support-icon {
    width: 60px;
    height: 60px;
    background: var(--dhl-yellow);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.4);
    flex-shrink: 0;
}

.support-text h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1d23;
    margin: 0 0 0.5rem;
}

.support-text p {
    font-size: 0.9375rem;
    color: #6c757d;
    margin: 0;
}

.social-accounts-wrapper .btn-support {
    background: var(--dhl-yellow);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
    font-size: 1.25rem;
}

.social-accounts-wrapper .btn-support:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 204, 0, 0.5);
    background: #f5c200;
    color: white;
}

body.dark-only .support-card {
    background: linear-gradient(135deg, #1f2329 0%, #1a1d23 100%);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-only .support-text h4 {
    color: #ffffff;
}

body.dark-only .support-text p {
    color: #9ca3af;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.slide-in-up {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1199.98px) {
    .tracking-hero-card {
        padding: 3rem 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 991.98px) {
    .tracking-page-modern {
        padding: 1.5rem 0 3rem;
    }

    .tracking-hero-card {
        padding: 2.5rem 1.5rem;
    }

    .hero-icon-circle {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .hero-icon-pulse {
        width: 80px;
        height: 80px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .status-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .status-left {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .status-right {
        width: 100%;
    }

    .btn-view-details {
        width: 100%;
        justify-content: center;
    }

    .progress-locations {
        flex-direction: column;
        gap: 1rem;
    }

    .location-point {
        width: 100%;
    }

    .progress-connector {
        width: 100%;
        min-width: auto;
    }

    .connector-line {
        height: 80px;
        width: 6px;
        margin: 0 auto;
    }

    .connector-progress {
        width: 100% !important;
        height: 0;
        animation: progress-fill-vertical 2s ease-out forwards;
    }

    .connector-progress[data-progress="75"] {
        animation-name: progress-fill-vertical-75;
    }

    .connector-progress[data-progress="100"] {
        animation-name: progress-fill-vertical-100;
    }

    .connector-vehicle {
        left: 50% !important;
        top: 75% !important;
        transition: top 0.5s ease-in-out;
    }

    .connector-vehicle.vehicle-completed {
        left: 50% !important;
        top: 100% !important;
    }

    .progress-dots {
        flex-direction: column;
        gap: 0.5rem;
    }

    .details-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    @keyframes progress-fill-vertical-75 {
        from {
            height: 0;
        }

        to {
            height: 75%;
        }
    }

    @keyframes progress-fill-vertical-100 {
        from {
            height: 0;
        }

        to {
            height: 100%;
        }
    }
}

@media (max-width: 767.98px) {
    .tracking-hero-card {
        padding: 2rem 1.25rem;
    }

    .hero-icon-circle {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }

    .hero-icon-pulse {
        width: 70px;
        height: 70px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 2rem;
    }

    .status-icon-box {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    .status-tracking-number {
        font-size: 1.5rem;
    }

    .status-timestamp {
        font-size: 0.875rem;
        flex-wrap: wrap;
    }

    .progress-card,
    .timeline-card {
        padding: 1.5rem 1rem;
    }

    .timeline-body {
        padding: 1.5rem 1rem;
    }

    .timeline-card-header {
        padding: 1.5rem 1rem;
    }

    .progress-title,
    .timeline-header-content h3 {
        font-size: 1.25rem;
    }

    .location-marker {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .location-name {
        font-size: 1rem;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .detail-card {
        padding: 1.25rem;
    }

    .timeline-entry {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .marker-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 1), 0 0 0 5px var(--marker-color);
    }

    .entry-card {
        padding: 0.875rem 1rem;
    }

    .entry-title {
        font-size: 0.9375rem;
    }

    .entry-timestamp {
        font-size: 0.75rem;
    }

    .entry-status-badge {
        font-size: 0.6875rem;
        padding: 0.2rem 0.625rem;
    }

    .support-card {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .support-content {
        flex-direction: column;
        text-align: center;
    }

    .btn-support {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .tracking-page-modern {
        padding: 1rem 0 2rem;
    }

    .tracking-hero-card {
        padding: 1.5rem 1rem;
        border-radius: 1.5rem;
    }

    .hero-icon-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .hero-icon-pulse {
        width: 60px;
        height: 60px;
    }

    .hero-title {
        font-size: 1.25rem;
    }

    .hero-subtitle {
        font-size: 0.875rem;
    }

    .status-banner-content {
        padding: 1.5rem;
    }

    .status-icon-box {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .status-tracking-number {
        font-size: 1.25rem;
    }

    .btn-view-details {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    .progress-card {
        padding: 1.25rem;
    }

    .progress-title {
        font-size: 1.125rem;
    }

    .location-marker {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }

    .location-label {
        font-size: 0.6875rem;
    }

    .location-name {
        font-size: 0.9375rem;
    }

    .detail-icon {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
    }

    .detail-value {
        font-size: 1rem;
    }

    .detail-value-price {
        font-size: 1.25rem;
    }

    .timeline-card-header {
        padding: 1.25rem 1rem;
    }

    .timeline-header-content h3 {
        font-size: 1.125rem;
    }

    .timeline-count {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }

    .timeline-body {
        padding: 1.25rem 1rem;
    }

    .marker-icon {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }

    .entry-card {
        padding: 1rem;
    }

    .entry-title {
        font-size: 1rem;
    }

    .entry-status-badge {
        padding: 0.25rem 0.625rem;
        font-size: 0.75rem;
    }

    .entry-timestamp {
        font-size: 0.8125rem;
    }

    .entry-description {
        font-size: 0.875rem;
    }

    .support-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .support-text h4 {
        font-size: 1.125rem;
    }

    .support-text p {
        font-size: 0.875rem;
    }

    .btn-support {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

.left-header .left-menu-header ul.header-left li span.f-w-600:before {
    background-color: var(--dhl-light-yellow) !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: var(--dhl-yellow);
}

/* ========== 19. RESPONSIVE HEADER STYLING ========== */
@media screen and (max-width: 991px) {
    .page-wrapper .page-header .header-wrapper .left-header .left-menu-header .app-menu {
        background-color: var(--dhl-yellow);
    }
}

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

/* ========== 21. WIDGET & CARD COMPONENTS ========== */
.widget-joins .widget-card {
    border: unset;
}

/* ========== 22. RESPONSIVE WIDGET STYLING ========== */
@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;
    }
}

/* ========== 23. ANIMATION TIMING CONTROLS ========== */
.enable-animation .marquee__content {
    animation: scroll 20s linear infinite;
}

/* ========== 24. RESPONSIVE LAYOUT CONTROLS ========== */
@media(min-width:570px) {
    .breadcrumb-absolute-logo {
        display: none;
    }
}

/* ========== 25. INVOICE & FORM STYLING ========== */
.invoice .invo-profile .invo-profile-left .d-flex .flex-grow-1 h4 {
    font-size: 15px;
    font-weight: 600;
}

/* ========== 26. RTL SUPPORT ========== */
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;
}

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

.sidebar-logo {
    height: 75px;
    object-fit: contain;
    width: 77%;
}

.w-available {
    max-width: -webkit-fill-available;
}

.non-selected-wrapper .selected {
    display: none;
}

.non-selected-wrapper .item,
.selected-wrapper .item {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.btn-square {
    border-radius: 3px;
}

.btn.btn-icon {
    width: calc(1.5em + 0.2rem + 2px);
    height: calc(1.5em + 0.2rem + 2px);
    border-radius: 25%;
}

.profile-wid-bg {
    position: absolute;
    left: 0;
    right: 0;
    top: 15px;
    height: 320px;
}

.profile-wid-bg::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: .9;
    background: #405189;
    background: -webkit-gradient(linear, left bottom, left top, from(#171e32), to(#405189));
    background: linear-gradient(to top, #171e32, #405189);
}

.profile-wid-bg .profile-wid-img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.profile-info-card {
    margin-top: 16rem
}

.general-widget .card-header p {
    margin-bottom: 0px;
    margin-top: 20px;
}

.dashboard-2 .card-body .right-side i.fa-solid,
.dashboard-2 .card-body .right-side i.fa-regular {
    font-size: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.sidebar-wrapper-logo {
    height: 44px;
    width: 100%;
}

.dashboard-2 .card-body .right-side i.fa-solid,
.dashboard-2 .card-body .right-side i.fa-regular {
    font-size: 30px;
    width: 65px;
    height: 65px;
}

.dashboard-2 .shap-block .rounded-shap i {
    width: 45px;
    height: 45px;
}

.avatar-xl {
    width: 165px;
    height: 155px;
}

.bl-none {
    border-left: none !important
}

.bt-1px {
    border-top: 1px solid #efefef;
}

.number-dot {
    width: 40px;
    height: 40px;
    background-color: #f4f4f4;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.vertical-align-middle {
    vertical-align: middle
}

/* ========== 20. PAGINATION STYLING ========== */
.page-item.active .page-link {
    background-color: var(--dhl-yellow);
    border-color: var(--dhl-dark-yellow);
    color: #000000;
}

.page-link {
    color: var(--dhl-yellow);
}

.page-link:hover {
    z-index: 2;
    color: var(--dhl-dark-yellow);
    background-color: var(--dhl-light-yellow);
    border-color: var(--dhl-yellow);
}

.page-link:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 204, 0, 0.25);
}

@media only screen and (max-width: 1550px) and (min-width: 1200px) {
    .dashboard-2 .best-seller table thead th:first-child {
        font-size: 16px !important;
    }
}

@media only screen and (max-width: 1550px) and (min-width: 1200px) {

    .dashboard-2 .best-seller table td:nth-child(2),
    .dashboard-2 .best-seller table td:nth-child(4),
    .dashboard-2 .best-seller table th:nth-child(2),
    .dashboard-2 .best-seller table th:nth-child(4) {
        display: table-cell;
    }
}

.mini-stats-wid {
    position: relative;
}

.avatar-sm {
    height: 3rem;
    width: 3rem;
}

.mini-stats-wid .mini-stat-icon {
    overflow: hidden;
    position: relative;
}

.avatar-title {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #405189;
    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%;
}

.bg-success-subtle {
    background-color: #daf4f0 !important;
}

.mini-stats-wid .mini-stat-icon:after,
.mini-stats-wid .mini-stat-icon:before {
    content: "";
    position: absolute;
    width: 8px;
    height: 69px;
    background-color: rgba(10, 179, 156, .1);
    left: 3px;
    -webkit-transform: rotate(32deg);
    transform: rotate(32deg);
    top: -8px;
    -webkit-transition: all .4s;
    transition: all .4s;
}

.mini-stats-wid .mini-stat-icon::after {
    left: 27px !important;
    width: 8px !important;
    -webkit-transition: all .2s;
    transition: all .2s !important;
}

.mini-stats-wid .mini-stat-icon:after,
.mini-stats-wid .mini-stat-icon:before {
    content: "";
    position: absolute;
    width: 8px;
    height: 69px;
    background-color: inherit;
    filter: brightness(80%);
    opacity: 0.5;
    left: 3px;
    -webkit-transform: rotate(32deg);
    transform: rotate(32deg);
    top: -8px;
    -webkit-transition: all .4s;
    transition: all .4s;
}


@media only screen and (max-width: 530px) {
    .order-phone-large-screen {
        display: none
    }
}

@media only screen and (min-width: 530px) {
    .order-phone-small-screen {
        display: none
    }
}

/* ========== 27. UTILITY & HELPER CLASSES ========== */
.min-w-fit {
    min-width: fit-content;
}

/* ========== 28. DARK MODE OVERRIDES ========== */
body.dark-only .page-wrapper .page-body-wrapper .page-body .card:not(.email-body) .dataTables_wrapper table.dataTable {
    border: unset;
}

/* ========== 29. LAYOUT & STRUCTURE ========== */
.page-wrapper.compact-wrapper .page-body-wrapper .page-body {
    min-height: calc(100vh - 155px);
}

@media only screen and (min-width: 992px) {
    .app-list {
        display: none;
    }
}

/* ========== 31. REPORTS DASHBOARD STYLES ========== */
.report-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    min-height: 150px;
}

.report-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--dhl-yellow);
}

.report-icon {
    font-size: 3rem;
}

.report-icon i {
    transition: all 0.3s ease;
}

.report-card:hover .report-icon i {
    transform: scale(1.1);
}

.report-card h5 {
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
}

.report-card:hover h5 {
    color: var(--dhl-red);
}

/* Dark mode support for reports dashboard */
body.dark-only .report-card {
    background-color: #181828 !important;
    border-color: #404050;
}

body.dark-only .report-card:hover {
    border-color: var(--dhl-yellow);
}

body.dark-only .report-card h5 {
    color: #ffffff;
}

body.dark-only .report-card:hover h5 {
    color: var(--dhl-yellow);
}

/* Responsive adjustments for reports dashboard */
@media (max-width: 768px) {
    .report-icon {
        font-size: 2.5rem;
    }

    .report-card {
        min-height: 130px;
    }

    .report-card h5 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .report-icon {
        font-size: 2rem;
    }

    .report-card {
        min-height: 110px;
    }

    .report-card h5 {
        font-size: 0.9rem;
    }
}

/* ========== DHL ADDITIONAL UTILITY CLASSES ========== */
.bg-dhl-yellow {
    background-color: var(--dhl-yellow) !important;
    color: #000000;
}

.bg-dhl-red {
    background-color: var(--dhl-red) !important;
    color: #ffffff;
}

.text-dhl-yellow {
    color: var(--dhl-yellow) !important;
}

.text-dhl-red {
    color: var(--dhl-red) !important;
}

.border-dhl-yellow {
    border-color: var(--dhl-yellow) !important;
}

.border-dhl-red {
    border-color: var(--dhl-red) !important;
}

/* Alert styling for DHL brand */
.alert-dhl-primary {
    color: #000000;
    background-color: var(--dhl-light-yellow);
    border-color: var(--dhl-yellow);
}

.alert-dhl-secondary {
    color: #ffffff;
    background-color: rgba(212, 5, 17, 0.1);
    border-color: var(--dhl-red);
}

/* Custom focus states */
.form-control:focus,
.form-select:focus {
    border-color: var(--dhl-yellow);
    box-shadow: 0 0 0 0.25rem rgba(255, 204, 0, 0.25);
}

/* Custom checkbox and radio styling */
.form-check-input:checked {
    background-color: var(--dhl-yellow);
    border-color: var(--dhl-yellow);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 204, 0, 0.25);
}

/* ========== 31. SOCIAL MEDIA LINKS STYLING ========== */
.social-accounts-container {
    display: flex;
    align-items: center;
    margin-right: 12px;
}

.social-accounts-wrapper {
    background: rgba(255, 204, 0, 0.1);
    border-radius: 20px;
    padding: 4px 8px;
    border: 1px solid rgba(255, 204, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.social-accounts-wrapper:hover {
    background: rgba(255, 204, 0, 0.15);
    border-color: rgba(255, 204, 0, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 204, 0, 0.2);
}

.social-account-item {
    position: relative;
}

.social-link {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dhl-yellow) 0%, var(--dhl-dark-yellow) 100%);
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--dhl-red) 0%, #B8040E 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.social-link:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4);
    border-color: var(--dhl-yellow);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover .social-icon {
    color: #ffffff;
    transform: scale(1.1);
}

.social-icon {
    font-size: 12px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    font-weight: 500;
}

/* Specific social media brand colors on hover */
.social-link[title*="facebook"]:hover::before {
    background: linear-gradient(135deg, #1877f2 0%, #165ecd 100%);
}

.social-link[title*="twitter"]:hover::before,
.social-link[title*="x"]:hover::before {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
}

.social-link[title*="instagram"]:hover::before {
    background: linear-gradient(135deg, #E4405F 0%, #C13584 50%, #833AB4 100%);
}

.social-link[title*="linkedin"]:hover::before {
    background: linear-gradient(135deg, #0077b5 0%, #005582 100%);
}

.social-link[title*="youtube"]:hover::before {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.social-link[title*="whatsapp"]:hover::before {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.social-link[title*="telegram"]:hover::before {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
}

/* Mode toggle spacing */
.mode-toggle-nav {
    margin-left: 8px;
}

/* Dark mode overrides */
body.dark-only .social-accounts-wrapper {
    background: rgba(255, 204, 0, 0.08);
    border-color: rgba(255, 204, 0, 0.15);
}

body.dark-only .social-accounts-wrapper:hover {
    background: rgba(255, 204, 0, 0.12);
    border-color: rgba(255, 204, 0, 0.25);
}

/* Responsive design */
@media (max-width: 1200px) {
    .social-accounts-wrapper {
        padding: 3px 6px;
        gap: 3px;
    }

    .social-link {
        width: 24px;
        height: 24px;
    }

    .social-icon {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .social-accounts-container {
        margin-right: 8px;
    }

    .social-accounts-wrapper {
        padding: 2px 4px;
        gap: 2px;
    }

    .social-link {
        width: 22px;
        height: 22px;
    }

    .social-icon {
        font-size: 10px;
    }
}

/* Hide social accounts on very small screens if needed */
@media (max-width: 480px) {
    .social-accounts-container {
        display: none;
    }
}

/* Tooltip styling */
.tooltip {
    font-size: 12px;
}

.tooltip .tooltip-inner {
    background-color: var(--dhl-yellow);
    color: #000000;
    font-weight: 600;
    border-radius: 6px;
    padding: 6px 10px;
}

.tooltip .tooltip-arrow::before {
    border-top-color: var(--dhl-yellow);
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: var(--dhl-yellow);
}

/* ========== 32. CHAT-STYLE COMMENTS COMPONENT ========== */
.comments-container {
    scroll-behavior: smooth;
}

.comments-container::-webkit-scrollbar {
    width: 6px;
}

.comments-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.comments-container::-webkit-scrollbar-thumb {
    background: var(--dhl-yellow);
    border-radius: 3px;
}

.comments-container::-webkit-scrollbar-thumb:hover {
    background: var(--dhl-dark-yellow);
}

/* Comment animation for new messages */
@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.comments-container .mb-4:last-child {
    animation: slideInFromBottom 0.3s ease-out;
}

/* Enhanced message bubbles */
.comments-container .rounded-4 {
    transition: all 0.2s ease;
}

.comments-container .rounded-4:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* Load more button styling */
.comments-container .btn-outline-primary {
    background-color: var(--dhl-light-yellow);
    border-color: var(--dhl-yellow);
    color: var(--dhl-yellow);
    transition: all 0.3s ease;
}

.comments-container .btn-outline-primary:hover {
    background-color: var(--dhl-yellow);
    border-color: var(--dhl-yellow);
    color: #000000;
    transform: translateY(-1px);
}

/* Chat input styling */
.comments-container+div form {
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.05) 0%, rgba(255, 204, 0, 0.02) 100%);
    border-radius: 20px 20px 0 0;
}

/* Enhanced avatar borders */
.comments-container img {
    transition: all 0.2s ease;
}

.comments-container .rounded-circle:hover img {
    transform: scale(1.05);
}

/* Message timestamp styling */
.comments-container .text-muted {
    transition: opacity 0.2s ease;
}

.comments-container .mb-4:hover .text-muted {
    opacity: 1 !important;
}

/* Responsive chat adjustments */
@media (max-width: 768px) {
    .comments-container {
        max-height: 300px !important;
    }

    .comments-container .px-4 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

.comments-list {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    justify-content: flex-end;
}

/* =================== 33. TABLE RESPONSIVE =================== */

/* .table-responsive .dropdown,
.table-responsive .btn-group,
.table-responsive .btn-group-vertical {
    position: static;
} */

/* =================== 34. ACTIVITY LOG TIMELINE STYLES =================== */
.activity-timeline {
    position: relative;
}

.activity-scroll-container {
    max-height: 500px;
    overflow-y: auto;
    padding: 20px;
}

.activity-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.activity-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.activity-scroll-container::-webkit-scrollbar-thumb {
    background: var(--dhl-yellow);
    border-radius: 3px;
}

.activity-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--dhl-dark-yellow);
}

.activity-item {
    position: relative;
    margin-bottom: 30px;
}

.activity-item:last-child {
    margin-bottom: 0;
}

.activity-dot-wrapper {
    position: relative;
    margin-right: 20px;
    width: 40px;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

.activity-line {
    position: absolute;
    top: 40px;
    left: 50%;
    width: 2px;
    height: calc(100% + 30px);
    background: linear-gradient(to bottom, #e5e5e5 0%, transparent 100%);
    transform: translateX(-50%);
    z-index: 1;
}

.activity-item:last-child .activity-line {
    display: none;
}

.activity-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 14px;
}

.activity-dot-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.activity-dot-primary {
    background: linear-gradient(135deg, var(--dhl-yellow) 0%, var(--dhl-dark-yellow) 100%);
    color: #000;
}

.activity-dot-danger {
    background: linear-gradient(135deg, var(--dhl-red) 0%, #b91c26 100%);
    color: white;
}

.activity-content {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    margin-left: 10px;
    position: relative;
}

.activity-content::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 20px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 8px 8px 0;
    border-color: transparent #f0f0f0 transparent transparent;
}

.activity-content::after {
    content: '';
    position: absolute;
    left: -7px;
    top: 20px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 8px 8px 0;
    border-color: transparent #fff transparent transparent;
}

.activity-header h5 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.activity-meta .badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    border: 1px solid #e0e0e0;
    background: #f8f9fa !important;
}

.activity-meta .badge a {
    text-decoration: none;
    color: inherit;
}

.activity-meta .badge a:hover {
    color: var(--dhl-yellow);
}

.activity-changes .table {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.activity-changes .table th {
    background: #f8f9fa;
    border-color: #e0e0e0;
    font-weight: 600;
    padding: 12px 15px;
    font-size: 0.85rem;
}

.activity-changes .table td {
    padding: 12px 15px;
    border-color: #e0e0e0;
    vertical-align: middle;
}

.activity-changes .table-sm td {
    padding: 8px 12px;
}

.activity-changes .text-success {
    color: #28a745 !important;
    font-weight: 600;
}

.activity-changes .text-muted {
    color: #6c757d !important;
}

/* Dark mode support */
body.dark-only .activity-content {
    background: #2b2b2b;
    border-color: #3b3b3b;
    color: #fff;
}

body.dark-only .activity-content::before {
    border-color: transparent #3b3b3b transparent transparent;
}

body.dark-only .activity-content::after {
    border-color: transparent #2b2b2b transparent transparent;
}

body.dark-only .activity-header h5 {
    color: #fff;
}

body.dark-only .activity-meta .badge {
    background: #3b3b3b !important;
    border-color: #4b4b4b;
    color: #fff;
}

body.dark-only .activity-changes .table th {
    background: #3b3b3b;
    border-color: #4b4b4b;
    color: #fff;
}

body.dark-only .activity-changes .table td {
    border-color: #4b4b4b;
    color: #fff;
}

/* Responsive design */
@media (max-width: 768px) {
    .activity-scroll-container {
        padding: 15px;
    }

    .activity-dot-wrapper {
        margin-right: 15px;
        width: 35px;
    }

    .activity-dot {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .activity-content {
        padding: 15px;
        margin-left: 5px;
    }

    .activity-content::before,
    .activity-content::after {
        left: -6px;
        border-width: 6px 6px 6px 0;
    }

    .activity-content::after {
        left: -5px;
    }

    .activity-meta .badge {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
}

@media (max-width: 480px) {
    .activity-item {
        margin-bottom: 25px;
    }

    .activity-dot-wrapper {
        margin-right: 10px;
        width: 30px;
    }

    .activity-dot {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    .activity-content {
        padding: 12px;
    }

    .activity-header h5 {
        font-size: 1rem;
    }

    .activity-changes .table th,
    .activity-changes .table td {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

}

.carousel-control-prev,
.carousel-control-next {
    background-color: transparent !important;
    border-color: transparent !important;
}

/* ========== ANNOUNCEMENT TICKER 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;
    flex-shrink: 0;
}

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

/* ========== MARQUEE ANIMATION 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;
    align-items: center;
    gap: var(--gap);
    min-width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}

.marquee__content>* {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@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 20s linear infinite;
}

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

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

/* ========== RESPONSIVE STYLES FOR ANNOUNCEMENTS ========== */
@media (max-width: 768px) {
    .modern-announcement-section {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

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

@media (max-width: 480px) {
    .modern-announcement-banner {
        padding: 0.75rem 0;
    }

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

    .announcement-text {
        font-size: 0.85rem;
    }

    .announcement-icon {
        font-size: 0.8rem;
    }
}