/* ===================================
   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%;
}

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


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

/* 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);
    }
}

/* ========== 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);
}

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

/* ========== 30. RIBBON COMPONENTS ========== */
.c-ribbon {
    position: relative;
}

.c-ribbon.c-ribbon-top .c-ribbon-label {
    top: 0;
    transform: translateX(-15px) translateY(-4px);
    border-bottom-right-radius: 0.475rem;
    border-bottom-left-radius: 0.475rem;
}

.c-ribbon .c-ribbon-label {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 10px;
    position: absolute;
    z-index: 1;
    background-color: var(--dhl-yellow);
    box-shadow: 0px -1px 5px 0px rgba(30, 33, 41, 0.1);
    color: #000000;
    font-weight: 600;
    top: 50%;
    right: 25px;
    transform: translateX(5px) translateY(-50%);
}

/* ========== 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;
}
