@media screen and (max-width: 1300px) {
    /* Dashboard & Layout */
    .content_wrap {
        grid-template-columns: 2fr 280px;
    }
    aside.dashboard-right {
        gap: 10px;
    }
    .content_wrap .stats {
        gap: 9px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .content_wrap .card{
        width: 32%;
    }

    .content_wrap .add_wrap .card{
        width: 100%;
    }

    .notes-card{
        width: 100% !important;
    }

    .bulk-card{
        width: 100% !important;
    }

    .support-main{
        width: 100%;
    }

    .content_wrap .alert {
        width: 100%;
        margin-top: 12px;
        padding: 10px;
    }
    .performance-body {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    .performance-box {
        border-right: 0;
    }

    .pickup-card{
        padding: 18px 10px;
    }

    .dashboard-right .wallet-card {
        padding: 9px;
    }

    .pickup-footer{
        padding: 4px;
    }

    .wallet-tab-content .orders-card{
        width: 100%;
    }

    .wallet-tab-content form.filter-form .filter-card .filter-grid{
        display: flex;
        flex-wrap: wrap;
    }

    .content_wrap .get-ticket {
        width: 100% ;
    }

     .get-ticket .table-responsive {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        display: block !important;
        -webkit-overflow-scrolling: touch;
    }

    .get-ticket .table-responsive .orders-table {
        width: 1200px !important;
    }

    .ticket-wrap form.filter-form .filter-card .filter-grid{
        display: flex;
    }

    .ndr-wrap .card {
        width: 100%;
    }

    .reports-kpi-grid{
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .filter-card .filter-main-row{
        display: flex;
    }

    .settings_designer_wrap .card {
        width: 100%;
    }

    .card.profile_summary_card{
        width: 100%;
    }

    div#tab_personal{
        width: 100%;
    }

    div#tab_business{
        width: 100%;
    }

    div#tab_bank{
        width: 100%;
    }

    div#tab_address{
        width: 100%;
    }

    .badge_role{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5px;
        padding: 10px;
    }

    .badge_verified {
        align-items: center;
        display: flex;
        gap: 5px;
    }

    .wallet-wrap .card {
        width: 100%;
    }

    .card.password_card {
        width: 100%;
    }

    .card.security_tips_card {
        width: 100%;
    }

    .contact-text .phone-num a, .contact-text .email-addr a{
        font-size: 12px;
    }

    .content_wrap .faq-card {
        width: 100%;
    }
}

@media screen and (max-width: 1250px){
    .section_white{
        padding: 15px;
    }

    .pickup-card h2{
        font-size: 14px;
    }

    .pickup-footer{
        flex-wrap: wrap;
    }

    .graph-box h4{
        text-align: center;
    }

    .performance-box h4 {
        text-align: center;
    }

    .quick-access{
        flex-wrap: wrap;
    }

    .quick-card{
        flex: unset;
        width: 37%;
    }

    .content_wrap .alert{
        flex-wrap: wrap;
        row-gap: 0;
    }

}

@media screen and (max-width: 1200px){
    .pickup-list{
        width: 100%;
    }

    .pickup-wrapper{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

}

@media screen and (max-width: 1100px){
    .content_wrap .card {
        width: 48%;
    }

    .wallet-wrap .card {
        width: 100%;
    }

    .content_wrap .faq-card {
        width: 100% ;
    }

    .content_wrap .get-ticket {
        width: 100% ;
    }

    .ndr-wrap .card {
        width: 100% ;
    }
    
    .filter-card .filter-main-row{
        flex-wrap: wrap;
    }

    .reports-wrap .filter-actions{
        width: 100%;
    }

    .reports-wrap .filter-actions .search-btn{
        width: 100%;
    }

    .reports-wrap .filter-actions .reset-btn {
        width: 100%;
    }

    .settings_designer_wrap .card {
        width: 100%;
    }

    .card.profile_summary_card{
        width: 100%;
    }

    div#tab_personal{
        width: 100%;
    }

    div#tab_business{
        width: 100%;
    }

    div#tab_bank{
        width: 100%;
    }

    div#tab_address{
        width: 100%;
    }

    .card.password_card {
        width: 100%;
    }

    .card.security_tips_card {
        width: 100%;
    }

    .search-box-content{
        flex-direction: column;
        align-items: start;
    }

    .dfc-404-search-form{
        max-width: unset;
        width: 100%;
    }
    
}

@media screen and (max-width: 1080px){
    section.hero.new_order{
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
        
    }
}

@media screen and (max-width: 1024px) {
    /* Auth & Login */
    .auth-form-side h1, 
    .reg-form-content h1 {
        font-size: 28px;
    }
    .login_page_wrap .right {
        padding: 30px 25px;
        width: 50%;
    }
    .left_container {
        padding: 40px 25px; 
    }

    /* Support & Tickets */
    .ticket-form-split {
        flex-direction: column;
        align-items: stretch;
    }
    .ticket-col-right {
        position: static;
    }

    /* Courier Slip Settings Designer */
    .content_wrap.settings_designer_wrap,
    .settings_designer_wrap {
        grid-template-columns: 1fr !important;
    }
    .designer_right {
        position: static;
    }

    /* Multi-Column Form Grids */
    .form-grid.five-column {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .form-grid.four-column {
        grid-template-columns: repeat(2, 1fr);
    }

    .block-shipment .orders-header{
    flex-direction: column;
}
}

@media screen and (max-width: 992px) {
    /* Bulk Orders */
    .bulk_order_page {
        grid-template-columns: 1fr;
    }

    /* Rate Calculator */
    .calc-grid {
        grid-template-columns: 1fr;
        margin-bottom: 20px;
    }

    /* Profile Settings */
    .content_wrap.profile_settings_wrap {
        flex-direction: column;
    }
    .profile_sidebar_column {
        width: 100%;
    }

    /* Change Password */
    .content_wrap.change_password_wrap {
        flex-direction: column;
    }
    .password_sidebar_column {
        width: 100%;
    }

    .pickup-list{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .content_wrap{
        display: flex;
        flex-direction: column;
    }

    .content_wrap.order_page{
        display: grid;
        grid-template-columns: 90px 1fr;
    }

    .content_right_section{
        width: 100% !important; 
    }

    .quick-card{
        width: 45%;
    }

    .quick-access{
        justify-content: center;
        row-gap: 20px;
    }

    .cargo-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .help-center{
        margin-top: 10px;
    }

    .topbar .search input{
        width: 220px;
    }

     .popup_row {
        width: 100%;
    }

    .popup_col {
        width: 100%;
    }

    .warehouse_modal {
        width: 90%;
        max-width: 800px;
        margin: 20px auto;
    }

    .form-grid.two-column {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .form-grid.three-column {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .default_checkbox_group {
        grid-column: 1 / -1;
    }

    .aud_popup[data-popup="warehouse_list"] .popup_row {
        width: 100%;
    }

    .aud_popup[data-popup="warehouse_list"] .popup_col {
        width: 100%;
    }

    .aud_popup[data-popup="warehouse_list"] .warehouse_modal {
        width: 92%;
        max-width: 1000px;
        margin: 20px auto;
    }

    .aud_popup[data-popup="warehouse_list"] .warehouse_list_container {
        width: 100%;
        overflow-x: auto;
    }

    .aud_popup[data-popup="warehouse_list"] .wh_list_table_wrap {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .aud_popup[data-popup="warehouse_list"] .wh_list_table {
        min-width: 800px;
        width: 100%;
    }

    .aud_popup[data-popup="warehouse_list"] .wh_list_table th,
    .aud_popup[data-popup="warehouse_list"] .wh_list_table td {
        white-space: normal;
        word-break: break-word;
    }

    .block-shipment .filter-main-row {
        flex-wrap: balance;
        display: flex;
    }

    .wallet-wrap .orders-header{
        justify-content: center;
    }

    .kyc_verification_status{
        width: 100%;
        padding: 0 20px;
    }

    .password_main_column{
        width: 100%;
    }

    .security_tips_list{
        width: 100%;
    }

    .summary_row{
        gap: 5px;
        margin-bottom: 15px;
    }

    .need_help_box{
        margin-top: 0;
    }

    .security_tips_card h3{
        margin-bottom: 30px;
    }

}

@media screen and (max-width: 900px){
    .status-tabs {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: 100%;
        max-width: 100%;
        overflow-x: auto !important;
        overflow-y: hidden;
        white-space: nowrap;
        box-sizing: border-box;
        -webkit-overflow-scrolling: touch;
    }

    .status-tabs .status-tab {
        flex: 0 0 auto !important;
        white-space: nowrap;
    }

     .table-responsive:has(.wallet-table) {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table {

        min-width: 1100px !important;
        max-width: none !important;
    }

    .ticket-wrap form.filter-form .filter-card .filter-grid{
        flex-wrap: balance;
    }

    .ticket-wrap form.filter-form .filter-card .action-btn {
        width: 100%;
    }

    .ticket-wrap form.filter-form .filter-card .action-btn .primary_btn{
        width: 50%;
    }

    .ticket-wrap form.filter-form .filter-card .action-btn .outline{
        width: 50%;
    }

    .ndr-wrap .filter-card .filter-grid{
        display: flex;
        flex-wrap: wrap;
    }

    .ndr-wrap .filter-card .action-btn{
        width: 100%;
    }

    .ndr-wrap .filter-card .action-btn .primary_btn{
        width: 100%;
    }

    .ndr-wrap .filter-card .action-btn .outline{
        width: 100%;
    }
}

@media screen and (max-width: 800px){
    .content_wrap.order_page{
        display: flex;
    }

    .stepper{
        display: flex;
        flex-direction: row;
    }

    .stepper .line {
        width: 50%;
        height: 2px;
        background: #e2e8f0;
        position: relative;
        transition: all 0.3s ease;
        top: 26px;
        margin: 0;
    }

    .return-switch{
        width: 100%;
    }

    .page-right .secondary_btn{
        padding: 0 10px;
        gap: 5px;
        font-size: 12px;
    }

    .page-right .primary_btn-btn {
        padding: 0 10px;
        gap: 5px;
        font-size: 12px;
    }

    .page-right .order-type .btn{
        padding: 0 10px;
        font-size: 12px;
    }

    .card .form-group:has(textarea){
        width: 70%;
    }

    .block-shipment .orders-card .orders-actions{
        flex-direction: column;
    }

    .block-shipment .shipments-per-page {
        width: 100%;
        justify-content: space-between;
        padding-left: 11px;
    }

    .block-shipment .shipments-per-page select {
        min-width: 76px;
    }

    .block-shipment .orders-card .orders-actions .primary_btn{
        width: 100%;
        height: fit-content;
        min-height: unset;
        padding: 10px 5px;
    }

    .block-shipment .orders-card .orders-actions .outline{
        width: 100%;
        height: fit-content;
        min-height: unset;
        padding: 10px 5px;
    }

    .wallet-wrap .wallet-tab-content .orders-card .orders-top{
        flex-direction: column;
        align-items: start;
        height: fit-content;
        min-height: unset;
    }

    section.card.recharge-wallet-card{
        flex-direction: column !important;
        margin-bottom: 10px !important;
    }

    section.card.recharge-wallet-card .wallet-banner{
        margin-left: 10px !important;
        width: 100% !important;
    }

    section.card.recharge-wallet-card .form_left{
        width: 100% !important;
    }

    .ndr-wrap .summary-grid{
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .designer_section .form-group{
        width: 100% !important;
    }

    .toggle_grid {
        row-gap: 10px;
    }

    .toggle_label{
        font-size: 10px;
    }

}

@media screen and (max-width: 768px) {
    /* Auth & Login */
    .login_page_wrap .container {
        flex-direction: column-reverse;
    }
    .login_page_wrap .right, 
    .login_page_wrap .left {
        width: 100%;
    }
    .login_page_wrap .right, 
    .left_container {
        padding: 40px 25px;
    }

    /* Public Tracking Timeline & Details */
    .tracking-details-grid {
        grid-template-columns: 1fr;
    }
    .timeline-steps {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        padding-left: 20px;
    }
    .timeline-progress-bar {
        left: 45px;
        top: 40px;
        bottom: 40px;
        width: 4px;
        height: auto;
    }
    .timeline-progress-fill {
        width: 100% !important;
        height: 0%;
        transition: height 0.4s ease-in-out;
    }
    .timeline-step {
        flex-direction: row;
        width: 100%;
        text-align: left;
        gap: 20px;
    }
    .timeline-step .step-label {
        margin-top: 0;
    }
    .timeline-step .step-date {
        margin-top: 0;
        margin-left: auto;
    }

    /* Form Grids */
    .form_grid.two_col,
    .form_grid.three_col,
    .form-grid.two-column,
    .form-grid.three-column,
    .form-grid.four-column,
    .form-grid.five-column {
        grid-template-columns: 1fr;
    }

    .help-center .btn{
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .help-center{
        width: 100%;
    }

    .quick-card {
        width: 94%;
    }

    .hero_content h1{
        font-size: 22px;
    }

    .topbar .profile-menu{
        gap: 5px;
    }

    .topbar .search select{
        padding: 0 10px;
    }

    .topbar .search input {
        width: 180px;
    }

    .topbar .left{
        width: 100%;
    }

    .package-card .weight-options{
        justify-content: center;
    }

    .package-card .dimension-grid label{
        font-size: 11px;
    }

    .return-switch{
        width: 100%;
        justify-content: center;
    }

    .warehouse_modal {
        width: 94%;
        max-width: none;
        margin: 15px auto;
        padding: 20px;
    }

    #wh_modal_title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    /* Two columns → One column */
    .form-grid.two-column {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Three columns → One column */
    .form-grid.three-column {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .default_checkbox_group {
        grid-column: auto;
    }

    .form-group {
        width: 100%;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        box-sizing: border-box;
    }

    .form_actions {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .form_actions .btn {
        flex: 1;
        min-width: 120px;
    }

    .aud_popup[data-popup="warehouse_list"] .warehouse_modal {
        width: 94%;
        max-width: none;
        margin: 15px auto;
        padding: 20px;
    }

    .aud_popup[data-popup="warehouse_list"] h3 {
        font-size: 20px;
        margin-bottom: 18px;
    }

    /* Horizontal scrolling for table */
    .aud_popup[data-popup="warehouse_list"] .warehouse_list_container,
    .aud_popup[data-popup="warehouse_list"] .wh_list_table_wrap {
        width: 100%;
        overflow-x: auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .aud_popup[data-popup="warehouse_list"] .wh_list_table {
        min-width: 800px;
        width: 800px;
    }

    .aud_popup[data-popup="warehouse_list"] .wh_list_table th,
    .aud_popup[data-popup="warehouse_list"] .wh_list_table td {
        padding: 10px 8px;
        font-size: 13px;
    }

    .aud_popup[data-popup="warehouse_list"] .wh_list_table th {
        white-space: nowrap;
    }

    .aud_popup[data-popup="warehouse_list"] .wh_list_table td {
        vertical-align: top;
    }

    .aud_popup[data-popup="warehouse_list"] .wh_list_table td small {
        font-size: 11px;
    }

    /* Action buttons */
    .aud_popup[data-popup="warehouse_list"] .btn_icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
    }

    .manifest-wrap .filter-main-row{
        display: flex;
        flex-wrap: wrap;
    }

    /* Wallet Recharge */

     .wallet-tab-content .recharge-wallet-card .quick-amount {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 5px;
        margin-top: 12px;
    }

    .wallet-tab-content .recharge-wallet-card .quick-amount button {
        width: 100%;
        min-width: 0;
        height: 32px;
        padding: 0 3px;
        font-size: 9px;
        line-height: 1;
    }

    .calculator_wrap .calc-hero .hero_content {
        flex-direction: column;
    }

    .calculator_wrap .calc-hero p{
        padding-left: 0;
        border-left: none;
    }

      .primary_btn.save_pwd_btn{
        width: 100%;
        min-width: unset;
        max-width: unset;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media screen and (max-width: 700px) {

    .dashboard {
        display: block;
        position: relative;
        width: 100%;
        height: 100vh;
        overflow: hidden;
    }


    /* Sidebar always stays fixed */
    .dashboard .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 75px;
        min-width: 75px;
        height: 100vh;
        z-index: 9999;
        overflow-y: auto;
        overflow-x: hidden;
        transition: width 0.45s ease, min-width 0.45s ease;
        margin: 0;
    }


    /* Expanded sidebar overlays content */
    .dashboard .sidebar.expanded {
        width: 250px;
        min-width: 250px;

        z-index: 9999;
    }

    .dashboard .content {
        position: relative;

        width: calc(100% - 75px) !important;
        min-width: calc(100% - 75px) !important;
        max-width: calc(100% - 75px) !important;

        height: 100vh;

        margin-left: 75px !important;

        overflow-y: auto;
        overflow-x: hidden;

        transition: filter 0.45s ease;
    }

    .dashboard .sidebar.expanded ~ .content {
        filter: blur(5px);
        pointer-events: none;
        user-select: none;
    }

    .tracking_dashboard_wrap .tracking-hero .hero_content{
        flex-direction: column;
    }

    .tracking_dashboard_wrap .tracking-hero .tracking-back-btn{
        width: 100%;
        margin-top: 5px;
    }

    .tracking_dashboard_wrap .tracking-hero h1{
        width: 100%;
    }

    .tracking_dashboard_wrap .tracking-hero p{
        width: 100%;
        padding-left: 0;
        border-left: 0;
    }

   form.filter-form.ticket-search-form .filter-main-row{
        display: flex;
        flex-wrap: wrap;
    }

}

@media screen and (max-width: 650px){
    .new_order .hero_content{
        width: 100%;
    }

    .shipping-type{
        width: 100%;
    }

    .new_order .page-right{
        flex-wrap: wrap;
        justify-content: center;
    }

    .shipping-type .radio{
        width: 50%;
        padding: 10px;
    }

    .page-right .order-type{
        width: 48%;
        height: 40px;
    }

    .page-right .order-type .btn{
        width: 50%;
    }

    .page-right .primary_btn-btn{
        width: 48%;
        min-height: 40px;
    }

    .page-right .secondary_btn{
        width: 100%;
        min-height: 40px;
    }

    .page-right .order-type .btn{
        padding: 0;
    }

    form.filter-form.ticket-search-form .ticket-search-actions{
        width: 100%;
        height: auto;
    }

    form.filter-form.ticket-search-form .ticket-search-btn{
        width: 50%;
    }

    form.filter-form.ticket-search-form .ticket-search-clear-btn{
        width: 50%;
    }

    .reports-wrap .orders-card .orders-top{
        flex-direction: column;
        align-items: start;
    }

    .reports-wrap .reports-export-btns{
        width: 100%;
    }

    .reports-wrap .reports-export-btns .btn-export-csv{
        width: 100%;
    }

    p.setting-wrap{
        line-height: 1.5;
        font-size: 12px;
    }

    .designer_section{
        padding: 10px;
    }

    .designer_section:nth-of-type(3){
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    p.profile-setting{
        line-height: 1.5;
        font-size: 11px;
    }

    .primary_btn.save_profile_btn{
        width: 100%;
        justify-content: center;
    }

    .profile_quick_actions {
        width: 100%;
    }

    .content_wrap.profile_settings_wrap{
        gap: 0;
    }

    .password_card .card_header p{
        text-align: left;
    }

    .password_card .card_header h3{
        text-align: left;
    }   

    .password_card .card_header{
        gap: 10px;
    }

    .dfc-search-input-group input{
        font-size: 11px;
    }

    .search-info p{
        line-height: 1.5;
    }

    .shortcuts-header p{
        line-height: 1.5;
    }

}

@media screen and (max-width: 600px){
    .block-shipment .orders-header .header-left{
        flex-direction: column;
    }

    .wallet-tab-content .recharge-wallet-card .form-group input{
        font-size: 9px !important;
    }

    .wallet-tab-content .recharge-wallet-card .wallet-form{
        flex-direction: column !important;
        display: flex !important;
    }

    .wallet-tab-content .recharge-wallet-card .form-group label{
        justify-content: start !important;
    }

    /* Shipment Table Css */

    .block-shipment .table-responsive {
        overflow: visible !important;
    }

    .block-shipment .orders-table {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .block-shipment .orders-table thead {
        display: none !important;
    }

    .block-shipment .orders-table tbody {
        display: block !important;
        width: 100% !important;
        padding: 10px 10px 0 10px;
    }

    .block-shipment .filter-card .filter-extra-row {
        display: flex;
        flex-direction: column;
    }

    /* Each table row becomes a compact card */
    .block-shipment .orders-table tr {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;

        margin: 0 0 12px !important;
        padding: 12px !important;

        border: 1px solid #e2e8f0 !important;
        border-radius: 10px !important;
        background: #fff !important;
    }

    /* Hide empty cells */
    .block-shipment .orders-table td:empty {
        display: none !important;
    }

    .block-shipment .orders-table td {
        display: flex !important;
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;

        align-items: flex-start !important;
        justify-content: flex-start !important;

        margin: 0 !important;
        padding: 7px 0 !important;

        border: 0 !important;
        text-align: left !important;
        white-space: normal !important;
        vertical-align: top !important;
    }

    /* Checkbox */
    .block-shipment .orders-table td:first-child {
        padding: 0 0 8px !important;
    }

    /* Order / tracking information */
    .block-shipment .orders-table td:nth-child(2) {
        display: block !important;
        padding: 4px 0 10px !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }

    .block-shipment .orders-table td:nth-child(2) .tracking-link {
        display: inline-block !important;
        margin-bottom: 4px !important;
        font-size: 14px !important;
    }

    /* Information rows */
    .block-shipment .orders-table td:nth-child(n+3):not(:last-child) {
        gap: 5px !important;
        font-size: 12px !important;
        flex-wrap: wrap;
        column-gap: 10px !important;
    }

    /* Action section */
    .block-shipment .orders-table td.action-col,
    .block-shipment .orders-table td:last-child {
        position: static !important;
        display: block !important;

        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;

        margin-top: 8px !important;
        padding: 10px 0 0 !important;

        border-top: 1px solid #e2e8f0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .block-shipment .orders-table .shipment-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

        width: 100% !important;
        gap: 6px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .block-shipment .orders-table .shipment-actions .btn {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 8px 5px !important;

        font-size: 11px !important;
        line-height: 1.1 !important;
        white-space: normal !important;
    }

    /* Manifest Table */


.manifest-wrap .orders-card .table-responsive {
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
}

.manifest-wrap .orders-card .orders-table,
.manifest-wrap .orders-card .orders-table tbody {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    border: 0 !important;
}

.manifest-wrap .orders-card .orders-table thead {
    display: none !important;
}

.manifest-wrap .orders-card .orders-table tr {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;

    margin: 0 0 14px !important;
    padding: 0 !important;

    background: #ffffff !important;

    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;

    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08) !important;

    overflow: hidden !important;
}

.manifest-wrap .orders-card .orders-table td {
    display: flex !important;

    align-items: center !important;
    justify-content: space-between !important;

    gap: 12px !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 9px 12px !important;

    border: 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;

    background: transparent !important;

    text-align: right !important;

    white-space: normal !important;
    vertical-align: middle !important;
}

.manifest-wrap .orders-card .orders-table td::before {
    flex: 0 0 40% !important;

    color: #64748b !important;

    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;

    text-align: left !important;

    text-transform: uppercase !important;

    letter-spacing: 0.4px !important;
}

.manifest-wrap .orders-card .orders-table td:nth-child(1)::before {
    content: "Manifest";
}

.manifest-wrap .orders-card .orders-table td:nth-child(2)::before {
    content: "Date";
}

.manifest-wrap .orders-card .orders-table td:nth-child(3)::before {
    content: "Courier";
}

.manifest-wrap .orders-card .orders-table td:nth-child(4)::before {
    content: "Pickup";
}

.manifest-wrap .orders-card .orders-table td:nth-child(5)::before {
    content: "Shipments";
}

.manifest-wrap .orders-card .orders-table td:nth-child(6)::before {
    content: "Weight";
}

.manifest-wrap .orders-card .orders-table td:nth-child(7)::before {
    content: "Status";
}

.manifest-wrap .orders-card .orders-table td:nth-child(8)::before {
    content: "Actions";
}

.manifest-wrap .orders-card .orders-table td:first-child {
    display: block !important;

    padding: 13px 14px !important;

    text-align: left !important;

    background: linear-gradient(
        135deg,
        #f8fafc,
        #eef4ff
    ) !important;

    border-bottom: 1px solid #e2e8f0 !important;
}

.manifest-wrap .orders-card .orders-table td:first-child::before {
    content: none !important;
}

.manifest-wrap .orders-card .orders-table td:first-child strong {
    display: block !important;

    margin-bottom: 4px !important;

    color: #0f172a !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.manifest-wrap .orders-card .orders-table td:first-child small {
    display: block !important;

    font-size: 9px !important;
    line-height: 1.4 !important;
}

.manifest-wrap .orders-card .orders-table td small,
.manifest-wrap .orders-card .orders-table td strong,
.manifest-wrap .orders-card .orders-table td span {
    max-width: 58% !important;
    overflow-wrap: anywhere !important;
}

.manifest-wrap .orders-card .orders-table td strong {
    color: #1e293b !important;

    font-size: 11px !important;
    line-height: 1.35 !important;

    text-align: right !important;
}

.manifest-wrap .orders-card .orders-table td small {
    font-size: 9px !important;
    line-height: 1.35 !important;
}

.manifest-wrap .orders-card .orders-table td:nth-child(2),
.manifest-wrap .orders-card .orders-table td:nth-child(4) {
    align-items: flex-start !important;
    justify-content: flex-start !important;

    display: flex !important;

    flex-direction: column !important;

    gap: 0 !important;

    padding: 10px !important;
}

.manifest-wrap .orders-card .orders-table td:nth-child(5) .badge-shipment-count {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    max-width: 58% !important;

    padding: 4px 8px !important;

    border-radius: 20px !important;

    font-size: 9px !important;

    white-space: nowrap !important;
}

.manifest-wrap .orders-card .orders-table td:nth-child(7) .manifest-status-badge {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    max-width: 58% !important;

    padding: 5px 9px !important;

    border-radius: 20px !important;

    font-size: 9px !important;
    font-weight: 700 !important;

    white-space: nowrap !important;
}

.manifest-wrap .orders-card .orders-table td.action-col {
    position: static !important;

    display: block !important;

    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;

    padding: 10px 12px !important;

    background: #f8fafc !important;

    border-bottom: 0 !important;
    border-top: 1px solid #e2e8f0 !important;

    box-shadow: none !important;
}

.manifest-wrap .orders-card .orders-table td.action-col::before {
    display: none !important;
}

.manifest-wrap .orders-card .orders-table .action-btn-wrap {
    display: grid !important;

    grid-template-columns: repeat(
        2,
        minmax(0, 1fr)
    ) !important;

    width: 100% !important;

    gap: 7px !important;

    margin: 0 !important;
    padding: 0 !important;
}

.manifest-wrap .orders-card .orders-table .action-btn-wrap .btn {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-width: 0 !important;
    min-height: 36px !important;

    margin: 0 !important;
    padding: 6px !important;

    border-radius: 8px !important;

    font-size: 11px !important;

    text-decoration: none !important;
}

.manifest-wrap .orders-card .orders-table .action-btn-wrap .btn i {
    margin: 0 !important;

    font-size: 13px !important;
}

    /* Wallet Table */

    .table-responsive:has(.wallet-table) {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
        box-sizing: border-box !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-collapse: separate !important;
        border-spacing: 0 !important;
        table-layout: auto !important;
        box-sizing: border-box !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table thead {
        display: none !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody tr {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;

        margin: 0 0 12px !important;
        padding: 0 !important;

        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;

        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody tr:last-child {
        margin-bottom: 0 !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td {
        display: grid !important;
        grid-template-columns: 82px minmax(0, 1fr) !important;
        align-items: center !important;

        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 8px 10px !important;

        border: 0 !important;
        border-bottom: 1px solid #f1f5f9 !important;

        background: #ffffff !important;
        box-sizing: border-box !important;

        text-align: left !important;
        white-space: normal !important;
        vertical-align: middle !important;

        overflow: hidden !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:last-child {
        border-bottom: 0 !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td::before {
        display: block !important;
        position: static !important;

        width: auto !important;
        max-width: 100% !important;
        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        color: #64748b !important;
        font-size: 8px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        letter-spacing: 0.3px !important;

        text-align: left !important;
        text-transform: uppercase !important;

        background: transparent !important;
        border: 0 !important;

        content: none !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(1)::before {
        content: "Select" !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(2)::before {
        content: "Order" !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(3)::before {
        content: "Tracking" !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(4)::before {
        content: "Date" !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(5)::before {
        content: "Balance" !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(6)::before {
        content: "Details" !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(7)::before {
        content: "Weight" !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(8)::before {
        content: "Zone" !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(9)::before {
        content: "Charges" !important;
    }

    /* Checkbox */
    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(1) {
        position: absolute !important;
        top: 12px !important;
        right: 12px !important;

        display: block !important;

        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 0 !important;
        background: transparent !important;
        z-index: 5 !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(1)::before {
        display: none !important;
        content: none !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(1) input {
        display: block !important;
        width: 15px !important;
        height: 15px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Order header */
    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(2) {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        min-height: 56px !important;

        padding: 11px 38px 10px 12px !important;

        background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%) !important;

        border-bottom: 1px solid #dbeafe !important;

        text-align: left !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(2)::before {
        display: block !important;
        margin-bottom: 3px !important;
        content: "Order" !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(2) strong {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        color: #0f172a !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;

        text-align: left !important;

        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* Normal rows */
    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(3),
    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(4),
    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(6),
    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(7),
    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(8) {
        color: #334155 !important;
        font-size: 10px !important;
        line-height: 1.35 !important;

        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }

    /* Balance */
    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(5) {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        padding: 8px 10px !important;

        background: #fafbfc !important;

        text-align: left !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(5)::before {
        display: block !important;
        margin-bottom: 6px !important;
        content: "Balance" !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(5) .sub-head {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        gap: 4px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(5) .sub-head span {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 38px !important;

        margin: 0 !important;
        padding: 5px 2px !important;

        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 7px !important;

        color: #334155 !important;
        font-size: 9px !important;
        font-weight: 700 !important;
        line-height: 1.1 !important;

        text-align: center !important;

        overflow: hidden !important;
        overflow-wrap: anywhere !important;
        box-sizing: border-box !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(5) .sub-head span:nth-child(3) {
        color: #dc2626 !important;
        background: #fff7f7 !important;
        border-color: #fecaca !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(5) .sub-head span::before {
        display: block !important;

        margin-bottom: 2px !important;

        color: #94a3b8 !important;
        font-size: 7px !important;
        font-weight: 700 !important;
        line-height: 1 !important;

        text-transform: uppercase !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(5) .sub-head span:nth-child(1)::before {
        content: "OPN" !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(5) .sub-head span:nth-child(2)::before {
        content: "CLS" !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(5) .sub-head span:nth-child(3)::before {
        content: "AMT" !important;
    }

    /* Details */
    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(6) {
        align-items: start !important;
        font-size: 9px !important;
        line-height: 1.4 !important;
    }

    /* Charges */
    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(9) {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        padding: 8px 10px !important;

        background: #fafbfc !important;

        text-align: left !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(9)::before {
        display: block !important;
        margin-bottom: 6px !important;
        content: "Charges" !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(9) .sub-head {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        gap: 4px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(9) .sub-head span {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 30px !important;

        margin: 0 !important;
        padding: 5px 6px !important;

        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 6px !important;

        color: #334155 !important;
        font-size: 8px !important;
        font-weight: 700 !important;
        line-height: 1.1 !important;

        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(9) .sub-head span::before {
        display: block !important;
        flex-shrink: 0 !important;

        margin-right: 4px !important;

        color: #94a3b8 !important;
        font-size: 7px !important;
        font-weight: 700 !important;

        text-transform: uppercase !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(9) .sub-head span:nth-child(1)::before {
        content: "FWD" !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(9) .sub-head span:nth-child(2)::before {
        content: "RTO" !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(9) .sub-head span:nth-child(3)::before {
        content: "CAN" !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(9) .sub-head span:nth-child(4)::before {
        content: "WT" !important;
    }

    .table-responsive:has(.wallet-table) {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: visible !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody,
    .table-responsive:has(.wallet-table) .wallet-table tr,
    .table-responsive:has(.wallet-table) .wallet-table td {
        max-width: 100% !important;
        overflow: visible !important;
    }

    .orders-card:has(.wallet-table) {
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    html,
    body {
        overflow-x: hidden !important;
    }

    .wallet-wrap .orders-card {
        position: relative;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 10px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        height: fit-content;
        margin-bottom: 15px;
    }
    
    .wallet-wrap .orders-header .tab-btn{
        padding: 0 10px;
    }

    .wallet-wrap td:has(.rzp-pay-pending) {
        grid-template-columns: 1fr !important;
    }

    .wallet-wrap td:has(.rzp-pay-pending) > div {
        grid-column: 1 / -1 !important;
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 5px !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .wallet-wrap td:has(.rzp-pay-pending) > div .rzp-pay-pending,
    .wallet-wrap td:has(.rzp-pay-pending) > div .rzp-check-status {
        flex: 0 0 calc(50% - 2.5px) !important;
        width: calc(50% - 2.5px) !important;
        max-width: calc(50% - 2.5px) !important;
        min-width: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        padding: 7px 4px !important;
        font-size: 10px !important;
        line-height: 1.1 !important;
        height: 32px !important;
        white-space: nowrap !important;
    }

    /* Get Ticket Table  */


    /* -----------------------------------------------------
       TABLE WRAPPER
       ----------------------------------------------------- */

    .get-ticket .table-responsive {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: visible !important;
    }


    /* -----------------------------------------------------
       TABLE
       ----------------------------------------------------- */

    .get-ticket .orders-table {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 0 !important;
        border-spacing: 0 !important;
        border-collapse: separate !important;

        table-layout: fixed !important;
        box-sizing: border-box !important;
    }

    .get-ticket .orders-table thead {
        display: none !important;
    }

    .get-ticket .orders-table tbody {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 8px !important;

        box-sizing: border-box !important;
    }


    /* -----------------------------------------------------
       ROW = CARD
       ----------------------------------------------------- */

    .get-ticket .orders-table tbody tr {
        display: block !important;

        position: relative !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        height: auto !important;
        min-height: 0 !important;

        margin: 0 0 10px !important;
        padding: 0 !important;

        overflow: hidden !important;

        background: #ffffff !important;

        border: 1px solid #e2e8f0 !important;
        border-radius: 14px !important;

        box-shadow:
            0 2px 4px rgba(15, 23, 42, 0.03),
            0 6px 16px rgba(15, 23, 42, 0.04) !important;

        box-sizing: border-box !important;
    }


    /* -----------------------------------------------------
       ALL CELLS
       ----------------------------------------------------- */

    .get-ticket .orders-table td {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        height: auto !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 8px 11px !important;

        border: 0 !important;
        border-bottom: 1px solid #eef2f6 !important;

        background: transparent !important;

        text-align: left !important;

        white-space: normal !important;
        vertical-align: top !important;

        overflow: hidden !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;

        box-sizing: border-box !important;
    }


    .get-ticket .orders-table td > * {
        max-width: 100% !important;
        min-width: 0 !important;

        box-sizing: border-box !important;

        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }


    .get-ticket .orders-table td:nth-child(1) {

        padding: 9px 11px !important;

        background: #f8fafc !important;

        border-bottom: 1px solid #e8edf2 !important;

        color: #64748b !important;

        font-size: 8px !important;
        font-weight: 700 !important;

        letter-spacing: .6px !important;

        text-transform: uppercase !important;
    }

    .get-ticket .orders-table td:nth-child(1)::before {
        content: "TICKET";
    }

    .get-ticket .orders-table td:nth-child(1)::before {
        display: inline-block;

        margin-right: 6px;

        color: #94a3b8;

        font-size: 7px;

        font-weight: 700;
        display: none;
        letter-spacing: .55px;
    }


    /* =====================================================
       02 — TICKET INFO / MAIN TITLE
       ===================================================== */

    .get-ticket .orders-table td:nth-child(2) {

        padding: 11px !important;

        background: #fff !important;

        border-bottom: 1px solid #e8edf2 !important;
    }

    .get-ticket .orders-table td:nth-child(2)::before {
        content: "TICKET INFO";

        display: block;

        margin-bottom: 4px;

        color: #98a2b3;

        font-size: 7px;

        font-weight: 700;

        line-height: 1.1;

        letter-spacing: .55px;

        text-transform: uppercase;
    }

    .get-ticket .orders-table td:nth-child(2) strong {

        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        color: #172033 !important;

        font-size: 13px !important;
        font-weight: 700 !important;

        line-height: 1.25 !important;

        text-align: left !important;
    }

    .get-ticket .orders-table td:nth-child(2) small {

        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        margin-top: 3px !important;

        color: #64748b !important;

        font-size: 8px !important;

        line-height: 1.25 !important;
    }


    /* =====================================================
       03 — ORDER / AWB
       ===================================================== */

    .get-ticket .orders-table td:nth-child(3) {

        padding: 8px 11px !important;

        background: #fff !important;
    }

    .get-ticket .orders-table td:nth-child(3)::before {
        content: "ORDER / AWB";

        display: block;

        margin-bottom: 4px;

        color: #98a2b3;

        font-size: 7px;

        font-weight: 700;

        letter-spacing: .55px;

        text-transform: uppercase;
    }


    /* =====================================================
       04 — SUBJECT & REMARKS
       ===================================================== */

    .get-ticket .orders-table td:nth-child(4) {

        padding: 8px 11px !important;

        background: #fff !important;
    }

    .get-ticket .orders-table td:nth-child(4)::before {
        content: "SUBJECT & REMARKS";

        display: block;

        margin-bottom: 4px;

        color: #98a2b3;

        font-size: 7px;

        font-weight: 700;

        letter-spacing: .55px;

        text-transform: uppercase;
    }

    .get-ticket .orders-table td:nth-child(4) strong {
        color: #334155 !important;
        font-size: 9px !important;
        font-weight: 700 !important;
    }


    /* =====================================================
       05 — ORDER INFO
       ===================================================== */

    .get-ticket .orders-table td:nth-child(5) {

        padding: 8px 11px !important;

        background: #fff !important;
    }

    .get-ticket .orders-table td:nth-child(5)::before {
        content: "ORDER INFO";

        display: block;

        margin-bottom: 4px;

        color: #98a2b3;

        font-size: 7px;

        font-weight: 700;

        letter-spacing: .55px;

        text-transform: uppercase;
    }


    /* =====================================================
       06 — TIMELINE / PRIORITY
       ===================================================== */

    .get-ticket .orders-table td:nth-child(6) {

        padding: 8px 11px !important;

        background: #fff !important;
    }

    .get-ticket .orders-table td:nth-child(6)::before {
        content: "TIMELINE & PRIORITY";

        display: block;

        margin-bottom: 4px;

        color: #98a2b3;

        font-size: 7px;

        font-weight: 700;

        letter-spacing: .55px;

        text-transform: uppercase;
    }

    .get-ticket .orders-table .badge-priority {

        display: inline-flex !important;

        align-items: center !important;
        justify-content: center !important;

        width: auto !important;
        max-width: 100% !important;

        margin-left: 3px !important;

        padding: 3px 7px !important;

        border-radius: 999px !important;

        font-size: 7px !important;
        font-weight: 700 !important;

        line-height: 1 !important;

        white-space: nowrap !important;
    }


    /* =====================================================
       07 — STATUS
       ===================================================== */

    .get-ticket .orders-table td:nth-child(7) {

        display: flex !important;

        align-items: center !important;
        justify-content: space-between !important;

        gap: 10px !important;

        padding: 8px 11px !important;

        background: #fafbfc !important;

        border-top: 1px solid #edf1f5 !important;
    }

    .get-ticket .orders-table td:nth-child(7)::before {
        content: "STATUS";

        display: block;

        flex: 0 0 auto;

        margin: 0 !important;

        color: #64748b;

        font-size: 7px;

        font-weight: 700;

        letter-spacing: .55px;

        text-transform: uppercase;
    }

    .get-ticket .orders-table .badge-status {

        display: inline-flex !important;

        align-items: center !important;
        justify-content: center !important;

        width: auto !important;
        max-width: 65% !important;
        min-width: 0 !important;

        padding: 4px 8px !important;

        border-radius: 999px !important;

        font-size: 8px !important;
        font-weight: 700 !important;

        line-height: 1.1 !important;

        white-space: nowrap !important;

        overflow: hidden !important;

        text-overflow: ellipsis !important;
    }


    /* =====================================================
       08 — ACTION
       ===================================================== */

    .get-ticket .orders-table td:nth-child(8) {

        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;

        padding: 9px 11px 10px !important;

        background: #f8fafc !important;

        border-top: 1px solid #e2e8f0 !important;
        border-bottom: 0 !important;

        position: static !important;

        right: auto !important;
        left: auto !important;

        box-shadow: none !important;
    }

    .get-ticket .orders-table td:nth-child(8)::before {
        content: "ACTION";

        display: block;

        margin-bottom: 6px;

        color: #64748b;

        font-size: 7px;

        font-weight: 700;

        letter-spacing: .55px;

        text-transform: uppercase;
    }


    /* =====================================================
       ACTION BUTTONS
       ===================================================== */

    .get-ticket .orders-table .shipment-actions {

        display: grid !important;

        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr) !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        gap: 6px !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    .get-ticket .orders-table .shipment-actions .btn {

        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        min-height: 32px !important;

        margin: 0 !important;

        padding: 6px 8px !important;

        border-radius: 7px !important;

        font-size: 9px !important;
        font-weight: 600 !important;

        line-height: 1.1 !important;

        white-space: nowrap !important;

        overflow: hidden !important;

        text-overflow: ellipsis !important;

        box-sizing: border-box !important;
    }

    .get-ticket .orders-table .shipment-actions .btn i {

        margin-right: 4px !important;

        font-size: 10px !important;
    }


    /* =====================================================
       REMOVE INLINE STICKY ACTION
       ===================================================== */

    .get-ticket .orders-table td[style*="position: sticky"] {

        position: static !important;

        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;

        z-index: auto !important;
    }


    /* =====================================================
       GENERAL CONTENT PROTECTION
       ===================================================== */

    .get-ticket .orders-table td * {

        max-width: 100% !important;
        min-width: 0 !important;

        overflow-wrap: anywhere !important;
        word-break: break-word !important;

        box-sizing: border-box !important;
    }


    /* NDR Table  */




    .ndr-wrap .table-responsive {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .ndr-wrap .orders-table {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        border: 0 !important;
        border-collapse: separate !important;
        border-spacing: 0 !important;
        table-layout: fixed !important;
        box-sizing: border-box !important;
    }

    .ndr-wrap .orders-table thead {
        display: none !important;
    }

    .ndr-wrap .orders-table tbody {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;

        width: 100% !important;
        max-width: 100% !important;

        padding: 8px !important;
        margin: 0 !important;

        box-sizing: border-box !important;
    }


    /* =====================================================
       CARD
       ===================================================== */

    .ndr-wrap .orders-table tbody tr {
        display: grid !important;

        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr) !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        height: auto !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        background: #fff !important;

        border: 1px solid #e2e8f0 !important;
        border-radius: 14px !important;

        overflow: hidden !important;

        box-shadow:
            0 2px 5px rgba(15,23,42,.03),
            0 5px 15px rgba(15,23,42,.04) !important;

        box-sizing: border-box !important;
    }


    /* =====================================================
       ALL CELLS
       ===================================================== */

    .ndr-wrap .orders-table td {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        min-height: 0 !important;
        height: auto !important;

        margin: 0 !important;
        padding: 9px 10px !important;

        border: 0 !important;
        border-bottom: 1px solid #edf1f5 !important;

        background: #fff !important;

        text-align: left !important;

        white-space: normal !important;

        overflow: hidden !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;

        box-sizing: border-box !important;
    }


    /* =====================================================
       FULL WIDTH — HEADER
       ===================================================== */

    .ndr-wrap .orders-table td:nth-child(1),
    .ndr-wrap .orders-table td:nth-child(2) {
        grid-column: 1 / -1 !important;
    }


    /* =====================================================
       CHECKBOX / HEADER
       ===================================================== */

    .ndr-wrap .orders-table td:nth-child(1) {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;

        padding: 8px 10px !important;

        background: #f8fafc !important;
    }



    .ndr-wrap .orders-table td:nth-child(1) input {
        width: 15px !important;
        height: 15px !important;
        margin: 0 !important;
    }


    /* =====================================================
       NDR DETAILS — FULL WIDTH
       ===================================================== */

    .ndr-wrap .orders-table td:nth-child(2) {
        padding: 10px !important;
    }

    .ndr-wrap .orders-table td:nth-child(2)::before {
        content: "NDR DETAILS";

        display: block;

        margin-bottom: 3px;

        color: #98a2b3;

        font-size: 7px;
        font-weight: 700;

        letter-spacing: .55px;

        text-transform: uppercase;
    }

    .ndr-wrap .orders-table td:nth-child(2) strong {
        display: block !important;

        font-size: 12px !important;
        font-weight: 700 !important;

        line-height: 1.25 !important;

        color: #172033 !important;
    }

    .ndr-wrap .orders-table td:nth-child(2) small {
        display: block !important;

        margin-top: 3px !important;

        color: #64748b !important;

        font-size: 8px !important;
    }


    /* =====================================================
       03-06 = TWO COLUMN
       ===================================================== */

    .ndr-wrap .orders-table td:nth-child(3),
    .ndr-wrap .orders-table td:nth-child(4),
    .ndr-wrap .orders-table td:nth-child(5),
    .ndr-wrap .orders-table td:nth-child(6) {

        display: block !important;

        width: 100% !important;

        padding: 9px 10px !important;

        border-right: 1px solid #edf1f5 !important;
    }


    .ndr-wrap .orders-table td:nth-child(3)::before {
        content: "PICKUP DETAILS";
    }

    .ndr-wrap .orders-table td:nth-child(4)::before {
        content: "CLIENT ORDER ID";
    }

    .ndr-wrap .orders-table td:nth-child(5)::before {
        content: "TRACKING DETAILS";
    }

    .ndr-wrap .orders-table td:nth-child(6)::before {
        content: "PRODUCT DETAILS";
    }


    .ndr-wrap .orders-table td:nth-child(3)::before,
    .ndr-wrap .orders-table td:nth-child(4)::before,
    .ndr-wrap .orders-table td:nth-child(5)::before,
    .ndr-wrap .orders-table td:nth-child(6)::before {

        display: block;

        margin-bottom: 3px;

        color: #98a2b3;

        font-size: 7px;
        font-weight: 700;

        letter-spacing: .5px;

        line-height: 1.15;

        text-transform: uppercase;
    }


    /* Right-hand column */
    .ndr-wrap .orders-table td:nth-child(4),
    .ndr-wrap .orders-table td:nth-child(6) {
        border-right: 0 !important;
    }


    /* =====================================================
       07-09 = TWO COLUMN
       ===================================================== */

    .ndr-wrap .orders-table td:nth-child(7),
    .ndr-wrap .orders-table td:nth-child(8),
    .ndr-wrap .orders-table td:nth-child(9) {
        display: block !important;
    }

    .ndr-wrap .orders-table td:nth-child(7)::before {
        content: "AMOUNT DETAILS";
    }

    .ndr-wrap .orders-table td:nth-child(8)::before {
        content: "ADDRESS";
    }

    .ndr-wrap .orders-table td:nth-child(9)::before {
        content: "USER CONTACT";
    }


    /* =====================================================
       10 — NDR REMARK
       FULL WIDTH
       ===================================================== */

    .ndr-wrap .orders-table td:nth-child(10) {
        grid-column: 1 / -1 !important;

        padding: 9px 10px !important;

        background: #fffdf7 !important;
    }

    .ndr-wrap .orders-table td:nth-child(10)::before {
        content: "NDR REMARK";

        display: block;

        margin-bottom: 4px;

        color: #98a2b3;

        font-size: 7px;
        font-weight: 700;

        letter-spacing: .55px;

        text-transform: uppercase;
    }


    /* =====================================================
       11 — CURRENT LOCATION / TIME
       ===================================================== */

    .ndr-wrap .orders-table td:nth-child(11) {
        grid-column: 1 / -1 !important;
    }

    .ndr-wrap .orders-table td:nth-child(11)::before {
        content: "CURRENT LOCATION & TIME";

        display: block;

        margin-bottom: 3px;

        color: #98a2b3;

        font-size: 7px;
        font-weight: 700;

        letter-spacing: .55px;

        text-transform: uppercase;
    }


    /* =====================================================
       12 — STATUS
       FULL WIDTH
       ===================================================== */

    .ndr-wrap .orders-table td:nth-child(12) {
        grid-column: 1 / -1 !important;

        display: flex !important;

        align-items: center !important;
        justify-content: space-between !important;

        gap: 8px !important;

        padding: 8px 10px !important;

        background: #fafbfc !important;
    }

    .ndr-wrap .orders-table td:nth-child(12)::before {
        content: "STATUS";

        color: #64748b;

        font-size: 7px;
        font-weight: 700;

        letter-spacing: .5px;

        text-transform: uppercase;
    }


    /* =====================================================
       13-15 REMARKS
       TWO COLUMN WHERE POSSIBLE
       ===================================================== */

    .ndr-wrap .orders-table td:nth-child(13),
    .ndr-wrap .orders-table td:nth-child(14),
    .ndr-wrap .orders-table td:nth-child(15) {
        padding: 7px 10px !important;

        min-height: 35px !important;
    }

    .ndr-wrap .orders-table td:nth-child(13)::before {
        content: "WHATSAPP";
    }

    .ndr-wrap .orders-table td:nth-child(14)::before {
        content: "EMAIL";
    }

    .ndr-wrap .orders-table td:nth-child(15)::before {
        content: "SMS";
    }

    .ndr-wrap .orders-table td:nth-child(13)::before,
    .ndr-wrap .orders-table td:nth-child(14)::before,
    .ndr-wrap .orders-table td:nth-child(15)::before {
        display: block;

        margin-bottom: 2px;

        color: #98a2b3;

        font-size: 6.5px;
        font-weight: 700;

        letter-spacing: .45px;

        text-transform: uppercase;
    }


    /* =====================================================
       16 — ACTION
       FULL WIDTH
       ===================================================== */

    .ndr-wrap .orders-table td.action-col,
    .ndr-wrap .orders-table td:nth-child(16) {

        grid-column: 1 / -1 !important;

        display: block !important;

        width: 100% !important;

        padding: 9px 10px !important;

        background: #f8fafc !important;

        border-top: 1px solid #e2e8f0 !important;

        border-bottom: 0 !important;

        position: static !important;

        box-shadow: none !important;
    }

    .ndr-wrap .orders-table td.action-col::before,
    .ndr-wrap .orders-table td:nth-child(16)::before {
        content: "ACTION";

        display: block;

        margin-bottom: 5px;

        color: #64748b;

        font-size: 7px;
        font-weight: 700;

        letter-spacing: .5px;

        text-transform: uppercase;
    }

    .ndr-wrap .orders-table td.action-col .btn {

        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;

        min-height: 33px !important;

        padding: 6px 10px !important;

        margin: 0 !important;

        border-radius: 7px !important;

        font-size: 9px !important;

        white-space: nowrap !important;
    }


    /* =====================================================
       BADGES
       ===================================================== */

    .ndr-wrap .orders-table .badge {

        display: inline-flex !important;

        align-items: center !important;

        max-width: 100% !important;

        padding: 3px 7px !important;

        border-radius: 999px !important;

        font-size: 7px !important;

        line-height: 1.1 !important;

        white-space: nowrap !important;
    }


    /* =====================================================
       CONTENT SAFETY
       ===================================================== */

    .ndr-wrap .orders-table td *,
    .ndr-wrap .orders-table td strong,
    .ndr-wrap .orders-table td small,
    .ndr-wrap .orders-table td span {

        max-width: 100% !important;
        min-width: 0 !important;

        overflow-wrap: anywhere !important;
        word-break: break-word !important;

        box-sizing: border-box !important;
    }

    /* Reports Table  */

    /* =========================================================
   REPORTS TABLE → MOBILE CARDS
   Scope: .reports-wrap
   ========================================================= */



    /* -----------------------------------------------------
       OUTER WRAPPER
       ----------------------------------------------------- */

    .reports-wrap .table-responsive {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: visible !important;
    }


    /* -----------------------------------------------------
       TABLE RESET
       ----------------------------------------------------- */

    .reports-wrap .orders-table {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 0 !important;
        border-collapse: separate !important;
        border-spacing: 0 !important;

        table-layout: fixed !important;

        box-sizing: border-box !important;
    }

    .reports-wrap .orders-table thead {
        display: none !important;
    }

    .reports-wrap .orders-table tbody {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 8px !important;

        box-sizing: border-box !important;
    }


    /* -----------------------------------------------------
       EACH ROW → CARD
       ----------------------------------------------------- */

    .reports-wrap .orders-table tbody tr {

        display: grid !important;

        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr) !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        height: auto !important;
        min-height: 0 !important;

        margin: 0 0 12px !important;
        padding: 0 !important;

        background: #ffffff !important;

        border: 1px solid #e4e8ee !important;
        border-radius: 15px !important;

        overflow: hidden !important;

        box-shadow:
            0 1px 2px rgba(15, 23, 42, 0.03),
            0 5px 18px rgba(15, 23, 42, 0.055) !important;

        box-sizing: border-box !important;
    }


    /* -----------------------------------------------------
       BASE CELL
       ----------------------------------------------------- */

    .reports-wrap .orders-table td {

        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        min-height: 0 !important;
        height: auto !important;

        margin: 0 !important;
        padding: 10px 11px !important;

        border: 0 !important;
        border-bottom: 1px solid #edf1f5 !important;

        background: #fff !important;

        text-align: left !important;

        white-space: normal !important;

        overflow: hidden !important;

        overflow-wrap: anywhere !important;
        word-break: break-word !important;

        box-sizing: border-box !important;
    }


    /* -----------------------------------------------------
       CHILD CONTENT
       ----------------------------------------------------- */

    .reports-wrap .orders-table td > *,
    .reports-wrap .orders-table td strong,
    .reports-wrap .orders-table td small,
    .reports-wrap .orders-table td span {

        max-width: 100% !important;
        min-width: 0 !important;

        box-sizing: border-box !important;

        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }


    /* =====================================================
       01 — ORDER DETAILS
       FULL WIDTH CARD HEADER
       ===================================================== */

    .reports-wrap .orders-table td:nth-child(1) {

        grid-column: 1 / -1 !important;

        position: relative !important;

        min-height: 64px !important;

        padding: 11px 12px !important;

        background:
            linear-gradient(
                135deg,
                #f8fafc 0%,
                #eef4ff 100%
            ) !important;

        border-bottom: 1px solid #e3e9f0 !important;
    }

    .reports-wrap .orders-table td:nth-child(1)::before {

        content: "ORDER DETAILS";

        display: block;

        margin-bottom: 4px;

        color: #94a3b8;

        font-size: 7px;
        font-weight: 700;

        line-height: 1;

        letter-spacing: .65px;

        text-transform: uppercase;
    }

    .reports-wrap .orders-table td:nth-child(1) strong {

        display: block !important;

        color: #0f172a !important;

        font-size: 13px !important;
        font-weight: 750 !important;

        line-height: 1.25 !important;

        text-align: left !important;
    }

    .reports-wrap .orders-table td:nth-child(1) small {

        display: block !important;

        margin-top: 3px !important;

        color: #64748b !important;

        font-size: 8px !important;

        line-height: 1.2 !important;
    }


    /* =====================================================
       02 — TRACKING AWB
       03 — COURIER
       ===================================================== */

    .reports-wrap .orders-table td:nth-child(2),
    .reports-wrap .orders-table td:nth-child(3) {

        border-right: 1px solid #edf1f5 !important;
    }

    .reports-wrap .orders-table td:nth-child(2)::before {
        content: "TRACKING AWB";
    }

    .reports-wrap .orders-table td:nth-child(3)::before {
        content: "COURIER PARTNER";
    }


    /* =====================================================
       04 — PAYMENT
       05 — WEIGHT
       ===================================================== */

    .reports-wrap .orders-table td:nth-child(4) {
        border-right: 1px solid #edf1f5 !important;
    }

    .reports-wrap .orders-table td:nth-child(4)::before {
        content: "PAYMENT MODE";
    }

    .reports-wrap .orders-table td:nth-child(5)::before {
        content: "ACTUAL WEIGHT";
    }


    /* =====================================================
       06 — FREIGHT
       07 — ORDER AMOUNT
       ===================================================== */

    .reports-wrap .orders-table td:nth-child(6) {
        border-right: 1px solid #edf1f5 !important;
    }

    .reports-wrap .orders-table td:nth-child(6)::before {
        content: "FREIGHT CHARGE";
    }

    .reports-wrap .orders-table td:nth-child(7)::before {
        content: "ORDER AMOUNT";
    }


    /* -----------------------------------------------------
       INFORMATION LABELS
       ----------------------------------------------------- */

    .reports-wrap .orders-table td:nth-child(2)::before,
    .reports-wrap .orders-table td:nth-child(3)::before,
    .reports-wrap .orders-table td:nth-child(4)::before,
    .reports-wrap .orders-table td:nth-child(5)::before,
    .reports-wrap .orders-table td:nth-child(6)::before,
    .reports-wrap .orders-table td:nth-child(7)::before {

        display: block;

        margin-bottom: 4px;

        color: #94a3b8;

        font-size: 7px;
        font-weight: 700;

        line-height: 1.1;

        letter-spacing: .5px;

        text-transform: uppercase;
    }


    /* -----------------------------------------------------
       INFORMATION VALUES
       ----------------------------------------------------- */

    .reports-wrap .orders-table td:nth-child(2) strong,
    .reports-wrap .orders-table td:nth-child(3) strong,
    .reports-wrap .orders-table td:nth-child(4) strong,
    .reports-wrap .orders-table td:nth-child(5) strong,
    .reports-wrap .orders-table td:nth-child(6) strong,
    .reports-wrap .orders-table td:nth-child(7) strong {

        display: block !important;

        max-width: 100% !important;

        color: #1e293b !important;

        font-size: 9px !important;
        font-weight: 650 !important;

        line-height: 1.35 !important;

        text-align: left !important;
    }


    /* =====================================================
       TRACKING NUMBER
       ===================================================== */

    .reports-wrap .orders-table td:nth-child(2) .text-blue {

        color: #2563eb !important;

        font-weight: 700 !important;
    }


    /* =====================================================
       PAYMENT BADGE
       ===================================================== */

    .reports-wrap .orders-table td:nth-child(4) .badge-shipment-count {

        display: inline-flex !important;

        align-items: center !important;

        width: auto !important;
        max-width: 100% !important;

        padding: 4px 7px !important;

        border-radius: 999px !important;

        font-size: 7px !important;
        font-weight: 700 !important;

        line-height: 1 !important;

        white-space: nowrap !important;
    }


    /* =====================================================
       FREIGHT
       ===================================================== */

    .reports-wrap .orders-table td:nth-child(6) strong {

        color: #dc2626 !important;

        font-size: 10px !important;
        font-weight: 700 !important;
    }


    /* =====================================================
       ORDER AMOUNT
       ===================================================== */

    .reports-wrap .orders-table td:nth-child(7) strong {

        color: #166534 !important;

        font-size: 10px !important;
        font-weight: 750 !important;
    }


    /* =====================================================
       08 — STATUS
       FULL WIDTH
       ===================================================== */

    .reports-wrap .orders-table td:nth-child(8) {

        grid-column: 1 / -1 !important;

        display: flex !important;

        align-items: center !important;
        justify-content: space-between !important;

        gap: 10px !important;

        min-height: 42px !important;

        padding: 8px 11px !important;

        background: #f8fafc !important;

        border-top: 1px solid #e7edf3 !important;

        border-bottom: 0 !important;
    }

    .reports-wrap .orders-table td:nth-child(8)::before {

        content: "STATUS";

        flex: 0 0 auto;

        color: #64748b;

        font-size: 7px;

        font-weight: 700;

        line-height: 1;

        letter-spacing: .55px;

        text-transform: uppercase;
    }


    /* -----------------------------------------------------
       STATUS BADGE
       ----------------------------------------------------- */

    .reports-wrap .orders-table .manifest-status-badge {

        display: inline-flex !important;

        align-items: center !important;
        justify-content: center !important;

        width: auto !important;

        max-width: 65% !important;
        min-width: 0 !important;

        padding: 5px 9px !important;

        border-radius: 999px !important;

        font-size: 8px !important;
        font-weight: 700 !important;

        line-height: 1 !important;

        white-space: nowrap !important;

        overflow: hidden !important;

        text-overflow: ellipsis !important;
    }


    /* =====================================================
       PREVENT WIDE CONTENT
       ===================================================== */

    .reports-wrap .orders-table td a,
    .reports-wrap .orders-table td div,
    .reports-wrap .orders-table td span {

        max-width: 100% !important;

        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }

    
}

@media screen and (max-width: 560px){
    .warehouse-grid{
        display: flex;
        flex-direction: column;
    }

    .warehouse-card{
        min-height: 140px;
        padding: 15px 10px;
    }

    .warehouse-icon{
        margin-bottom: 8px;
    }

    .card .form-group label{
        min-height: 30px;
        display: flex;
        align-items: start;
        justify-content: center;
        font-size: 12px;
        margin-bottom: 0;
    }

    .stepper .line{
        width: 30%;
    } 

    .package-card .dimension-grid input{
        font-size: 10px;
        padding: 0 3px;
    }

    .stepper{
        padding: 15px;
    }

    .card .form-group input, .card .form-group select, .card .form-group textarea{
        font-size: 11px;
        padding: 8px;
    }

    .content_wrap{
        padding: 0 10px;
    }

    .package-card .weight-options{
        padding: 15px;
    }

    .package-card .dimension-grid{
        padding: 20px 15px;
    }

    .package-card .weight-item {
        min-width: 60px;
        height: 37px;
        padding: 0 14px;
    }

    .card .form-group:has(textarea) {
        width: 100%;
        padding: 0 !important;
    }

    .order-form-actions .btn.primary_btn {
        padding: 10px;
        min-width: 100%;
        font-size: 12px;
    }

    .package-card .dimension-grid{
        gap: 10px;
    }

     .order-form-actions{
        flex-direction: column;
    }

    .order-form-actions .outline{
        padding: 7px;
    }

    .bulk-actions-row{
        
        padding: 10px;
        margin-bottom: 0;
    }

    .bulk-card .bulk-actions-row .btn{
        min-height: 30px;
    }

    #btn_upload_csv{
        width: 100%;
        height: 35px;
    }

    #btn_bulk_place{
        width: 100%;
        height: 35px;
    }

    #btn_bulk_draft{
        width: 100%;
        height: 35px;
    }

    #btn_bulk_reset{
        width: 100%;
        height: 35px;
    }

    .download-sample-wrap{
        margin-bottom: 0;
    }

    .bulk-card .select-courier-partner-group, .bulk-card .select-express-group{
        padding: 10px 10px 0;
        width: 90%;
    }

    .instructions-section p{
        text-align: left;
        flex-direction: column;
    }

    .instructions-section p strong{
        width: 30%;
    }

    .instructions-section{
        margin-top: 20px;
    }

    .notes-card ol{
        text-align: justify;
    }

    div#product_cards_wrap{
        padding: 0;
    }

    .product-card{
        padding: 15px;
    }

    .order-form-actions button.btn.outline{
        padding: 10px;
        font-size: 12px;
        width: 100%;
        min-width: unset;
    }

    .ndr-wrap .orders-top{
        flex-direction: column;
        align-items: start;
    }

    .ndr-wrap .orders-actions{
        width: 100%;
    }

    .ndr-wrap .orders-actions .btn{
        width: 100%;
    }

    .toggle_grid {
        display: flex;
        flex-wrap: wrap;
    }

    .designer_section .form-group label{
        width: 100% !important;
        justify-content: start;
    }

    .slip_preview_sheet.size-A5{
        padding: 15px 10px;
    }

    .designer-save-btn{
        height: 37px;
        font-size: 12px;
    }

    .create-manifest .orders-header{
        flex-direction: column;
    }

    .create-manifest .orders-header-title{
        text-align: center;
    }

    .profile_section_card .form-group label{
       justify-content: start; 
    }

    .password_card .form-group label{
        width: 100%;
        display: flex;
        justify-content: start;
        align-items: center;
    }

    .dfc-404-search-box{
        padding: 20px ;
    }
}

@media screen and (max-width: 500px){
    .topbar .search select {
        font-size: 11px;
    }

    .topbar .search input{
        font-size: 11px;
        width: 140px;
    }

    .hero_content h1 {
        font-size: 18px;
    }

    .content_wrap .alert i{
        font-size: 16px;
    }

    .content_wrap .alert{
        font-size: 11px;
    }

    .topbar{
        padding: 14px;
    }

    .content_wrap .card {
        width: 100%;
    }

    .block-shipment .orders-card .orders-top{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .block-shipment .orders-card .orders-info{
        text-align: center;
    }

    .block-shipment .orders-card .orders-actions{
        width: 100%;
    }

    .wallet-tab-content .orders-card .orders-info{
        flex-direction: column;
    }

    .wallet-tab-content .orders-card .orders-info p{
        width: 100%;
    }

    .tracking-card .card-header .header-left{
        width: 100%;
        flex-direction: column;
        align-items: start;
    }

    .tracking-card .card-header .header-right {
        width: 100%;
        flex-direction: column;
        align-items: start;
    }

    .courier-badge{
        background: transparent;
        padding: 0;
    }

    .tracking-card .card-header .badge{
        padding: 0;
    }

    .timeline-progress-bar{
        left: 18px;
    }

    .timeline-steps{
        padding-left: 0;
    }

    .timeline-step .step-icon{
        width: 40px;
        height: 40px;
    }

    .rate-calc-form .form-row{
        flex-direction: column;
    }

    .rate-calc-form .form-group.half{
        width: 100%;
        margin: 0;
    }

    .rate-calc-form .form-group.third{
        width: 100%;
        margin: 0;
    }

    .rate-calc-form .form-row{
        gap: 10px;
    }

    .results-card{
        padding: 25px 15px;
    }

    .courier-info .badge{
        margin: 0;
    }

    .courier-rate-card{
        flex-direction: column;
        gap: 10px;
    }

    .courier-info{
        width: 100%;
        justify-content: space-between;
    }

    .courier-pricing{
        text-align: center;
    }

    .results-header{
        flex-direction: column;
        gap: 10px;
        margin: 0;
    }

    .calculator_wrap .calc-card{
        padding: 20px 15px;
    }

    .calculator_wrap .calc-hero p {
        width: 100%;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: break-word;
        word-wrap: break-word;
        box-sizing: border-box;
        line-height: 1.5;
        text-align: center;
        margin: 0;
    }

    .calculator_wrap .calc-hero .hero_content{
        margin-bottom: 10px;
        gap: 10px;
    }

    .faq-question span{
        font-size: 11px;
    }

    .content_wrap .faq-card h2{
        font-size: 16px;
    }

    .content_wrap .faq-card {
        margin: 0;
        padding: 20px 15px;
    }

    .contact-card.info-card p{
        font-size: 11px;
    }

    .contact-card.info-card h3{
        font-size: 15px;
    }

    .faq-answer p{
        font-size: 10px;
    }

    .ticket-product-block, .ticket-address-block{
        background: none;
        border-radius: 0;
        padding: 12px 0;
        border: none;
        font-weight: 500;
        font-size: 14px;
        color: #334155;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .ticket-card{
        padding: 15px;
    }

    .ticket-detail-value {
        font-size: 13px;
        font-weight: 500;
    }

    .ndr-wrap .filter-card .action-btn{
        flex-direction: column;
    }

    .ndr-wrap .filter-card .action-btn .primary_btn {
        padding: 10px 0;
    }

    .ndr-wrap .filter-card .action-btn .outline {
        padding: 10px 0;
    }

    .ndr-wrap .filter-card{
        height: 430px;
    }

    .notes-card ol{
        padding: 0;
    }

    .search-info p{
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    /* Button Wrappers */
    .btn_wrap {
        flex-direction: column;
    }
    .btn_wrap .btn {
        width: 100%;
    }

    /* Toggle Grid */
    .toggle_grid {
        grid-template-columns: 1fr;
    }

    .page-right .order-type{
        width: 100%;
    }

    .page-right .primary_btn-btn{
        width: 100%;
    }

    .stepper .circle {
        width: 35px;
        min-width: 0;
        height: 35px;
        font-size: 14px;
    }

    .stepper .step span{
        font-size: 11px;
    }

    .stepper .line{
        top: 17px;
    }

    .card:has(.pickup-row) .card-header h3{
        font-size: 17px;
    }

    .card .section-title{
        font-size: 17px;
    }

    .package-card .package-header h3{
        font-size: 17px;
    }

    .pickup-row .select2-selection--single{
        height: 40px !important;
    }

    .pickup-row .select2-selection__arrow{
        height: 40px !important;
    }

    .return-switch{
        min-height: 45px;
    }

    .pickup-row{
        padding: 10px 0;
        gap: 10px !important;
    }

    .return-switch{
        font-size: 11px;
    }

    .card .form-grid.two-column{
        display: flex;
        flex-wrap: wrap;
        padding: 0;
    }

    .card .form-grid .form-group{
        width: 100%;
        align-items: start;
    }

    .card .form-grid.three-column{
        display: flex;
        flex-wrap: wrap;
        padding: 0;
    }

    .card .form-grid{
        width: 100%;
        padding: 0;
    }

    .package-card .package-header{
        padding: 18px 10px;
        width: 100%;
    }

    .package-card .mps-box{
        width: 100%;
    }

    .package-card .mps-box select{
        width: 100%;
    }

    .package-card .weight-item{
        min-width: 65px;
        font-size: 11px;
        height: 30px;
    }

    .package-card .dimension-grid{
        display: flex;
        flex-wrap: wrap;
    }

    .package-card .dimension-grid .form-group{
        width: 100%;
        align-items: start;
    }

    .card .form-group label{
        min-height: 18px;
    }

    .warehouse-grid{
        padding: 0;
        width: 94%;
    }

    .order-form-actions .btn.primary_btn{
        font-size: 12px;
    }
    
    .warehouse-card:nth-child(2){
        width: 100%;
    }

    .warehouse_modal {
        width: 96%;
        padding: 16px;
        margin: 10px auto;
    }

    #wh_modal_title {
        font-size: 18px;
    }

    .close-popup {
        font-size: 18px;
    }

    .form-grid.two-column,
    .form-grid.three-column {
        gap: 10px;
    }

    .form-group label {
        font-size: 13px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 14px;
        padding: 10px;
    }

    .form_actions {
        flex-direction: column;
    }

    .form_actions .btn {
        width: 100%;
        flex: none;
    }

     .aud_popup[data-popup="warehouse_list"] .warehouse_modal {
        width: 96%;
        padding: 15px;
        margin: 10px auto;
    }

    .aud_popup[data-popup="warehouse_list"] h3 {
        font-size: 18px;
    }

    .aud_popup[data-popup="warehouse_list"] .wh_list_table {
        min-width: 750px;
        width: 750px;
    }

    .aud_popup[data-popup="warehouse_list"] .wh_list_table th,
    .aud_popup[data-popup="warehouse_list"] .wh_list_table td {
        padding: 8px 6px;
        font-size: 12px;
    }

    .aud_popup[data-popup="warehouse_list"] .wh_list_table td small {
        font-size: 10px;
    }

    .aud_popup[data-popup="warehouse_list"] .btn_icon {
        width: 30px;
        height: 30px;
    }

    .content_wrap .add_wrap .card{
        padding: 18px;
    }

    .package-card .dimension-grid{
        padding: 20px 18px;
    }

    .block-shipment .orders-header .order-tabs, .block-shipment .orders-header .shipment-type{
        height: 40px;
        padding: 4px 0;
    }

    .block-shipment .orders-header .tab-btn{
        padding: 0 10px;
        height: 40px;
        font-size: 11px;
    }

    .block-shipment .orders-header .radio-btn {
        height: 35px;
        font-size: 11px;
        padding: 0 10px;
    }

    .block-shipment .orders-header .header-right .btn.primary-btn{
        min-width: unset;
    }

    .block-shipment .orders-header .header-right .btn.outline{
        min-width: unset;
    }

    .block-shipment  .orders-header .header-right .btn{
        height: 40px;
        width: 100%;
        font-size: 12px;
    }

    .block-shipment .orders-header .header-right{
        width: 100%;
        flex-direction: column;
    }

    .manifest-wrap .orders-header{
        flex-direction: column;
        gap: 10px;
    }

    .manifest-wrap .orders-header .header-right{
        width: 100%;
    }

    .manifest-wrap .orders-header .header-right .btn.primary-btn{
        width: 100%;
        min-width: unset;
        height: 35px;
    }

    .manifest-wrap .filter-card .filter-actions{
        width: 100%;
        flex-direction: column;
    }

    .manifest-wrap .filter-card .filter-actions .btn{
        width: 100%;
        padding: 10px;
    }

    .create-manifest .orders-header{
        flex-direction: column;
        text-align: center;
        gap: 0;
    }

    .create-manifest .orders-header-title{
        font-size: 13px;
        display: none;
    }

    .create-manifest .orders-header .header-right{
        width: 100%;
    }

    .create-manifest .orders-header .header-right .btn.outline {
        width: 100%;
        height: 35px;
    }

    .create-manifest .manifest-empty-card .primary-btn{
        width: 100%;
    }

    .wallet-wrap .orders-header .header-left{
        width: 100%;
    }

    .wallet-wrap .orders-header .order-tabs{
        width: 100%;
        justify-content: space-between;
    }

    .wallet-wrap .orders-header .tab-btn{
        font-size: 11px;
    }

    .wallet-tab-content .orders-card .table-toolbar{
        padding: 10px 8px;
        flex-direction: column;
        height: fit-content;
        min-height: unset;
    }

    .wallet-tab-content .orders-card .page-size{
        width: 100%;
        justify-content: center;
    }

    .wallet-tab-content .orders-card .table-pagination{
        width: 100%;
        justify-content: center;
    }

    .wallet-balance-card{
        width: 100%;
        justify-content: center;
        padding: 5px !important;
        background: transparent !important;
    }

    .wallet-balance-card > div{
        display: flex;
        flex-direction: column;
        align-items: start;
    }

    .wallet-tab-content .recharge-wallet-card .orders-info h2{
        font-size: 17px;
    }

        section.card.recharge-wallet-card .form_left{
            padding: 20px 15px;
        }

        .wallet-tab-content .recharge-wallet-card .quick-amount {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px;
        margin-top: 10px;
    }

    .wallet-tab-content .recharge-wallet-card .quick-amount button {
        height: 29px;
        padding: 0 2px;
        font-size: 8px;
    }

    .tracking-card{
        padding: 15px;
    }

    form.filter-form.ticket-search-form .ticket-search-actions {
        flex-direction: column;
    }

    form.filter-form.ticket-search-form .ticket-search-clear-btn {
        width: 100%;
    }

    form.filter-form.ticket-search-form .ticket-search-btn{
        width: 100%;
    }

    .confirm_btn_wrap.ticket-form-actions{
        flex-direction: column;
    }

    .reports-wrap .filter-actions{
        flex-direction: column;
        margin-top: 40px;
    }

    .reports-wrap .filter-actions .search-btn{
        padding: 10px 0;
    }

    .reports-wrap .filter-actions .reset-btn{
        padding: 10px 0;
    }

    .reports-wrap .orders-card .orders-info h2{
        font-size: 18px;
    }

    .reports-wrap .orders-card .orders-top{
        padding: 15px;
    }

     div#tab_personal{
        padding: 15px;
    }

    div#tab_business{
        padding: 15px;
    }

    div#tab_bank{
        padding: 15px;
    }

    div#tab_address{
        padding: 15px;
    }

    .kyc_verification_status h4 {
        text-align: center;
    }

    .manifest-wrap form.filter-form section.filter-card{
        height: 350px;
    }

    .ticket-wrap form.filter-form section.filter-card{
        height: max-content;
        padding: 16px 16px 50px 16px;
    }

    .get-ticket .orders-info {
        flex-direction: column;
    }  
    
    .get-ticket .orders-info p{
        padding-left: 0;
        border-left: none;
    }

    .get-ticket .orders-top{
        margin-top: 10px;
    }

}

@media (max-width: 430px) {
    .timeline-step {
        display: grid;
        grid-template-columns: 45px 1fr;
        column-gap: 15px;
        align-items: start;
    }

    .step-icon {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    .step-label {
        grid-column: 2;
        grid-row: 1;
    }

    .step-date {
        grid-column: 2;
        grid-row: 2;
        margin-top: 4px;
    }

    .timeline-step .step-date{
        margin-left: 0;
    }

    .profile_tab_btn{
        min-width: unset;
        font-size: 11px;
    }

    .search-info {
        gap: 15px;
        flex-direction: column;
        align-items: start;
    }

    .dfc-search-input-group{
        padding: 4px 4px 4px 7px;
    }
}

@media screen and (max-width: 420px) {

    .search {
        grid-template-columns: 55px minmax(0, 1fr) 45px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .search select {
        width: 55px !important;
        min-width: 0 !important;
        font-size: 11px;
        padding: 0 4px;
    }

    .search input {
        width: 100% !important;
        min-width: 0 !important;
        font-size: 11px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .search button {
        width: 45px !important;
        min-width: 45px !important;
    }

    .topbar .search select{
        padding: 0;
    }

    .topbar .search input{
        padding: 5px 8px ;
    }

    .wallet-tab-content form.filter-form .filter-card .action-btn{
        width: 100%;
        min-width: unset;
        flex-direction: column;
    }

    .wallet-tab-content form.filter-form .filter-card .action-btn .primary_btn{
        width: 100%;
        padding: 10px 0;
    }

    .wallet-tab-content form.filter-form .filter-card .action-btn .outline{
        width: 100%;
        padding: 10px 0;
    }

    .wallet-tab-content form.filter-form section.filter-card{
        height: max-content;
        padding: 16px 16px 50px 16px;
    }

    .wallet-tab-content .orders-card .orders-actions{
        flex-direction: column;
        width: 100%;
    }

    .wallet-tab-content .orders-card .orders-actions .btn{
        width: 100%;
        height: 30px;
        min-height: unset;
    }

    .dimensions-header{
        flex-direction: column;
        align-items: start;
        gap: 5px;
    }

    .ticket-wrap form.filter-form .filter-card .action-btn{
        flex-direction: column;
    }

    .ticket-wrap form.filter-form .filter-card .action-btn .primary_btn {
        width: 100%;
        padding: 10px 0;
    }

    .ticket-wrap form.filter-form .filter-card .action-btn .outline {
        width: 100%;
        padding: 10px 0;
    }

    .ticket-details-grid{
        display: flex;
        flex-direction: column;
    }

    .dfc-404-search-box {
        padding: 15px 10px;
    }

    .dfc-404-badge{
        font-size: 9px;
    }
}

@media screen and (max-width: 410px){
    .hero_content h1 {
        font-size: 16px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .content_wrap .hero p{
        font-size: 11px;
        text-align: center;
    }

    .section-header h3{
        font-size: 13px;
    }

    .pickup-footer{
        text-align: center;
        font-size: 10px;
        gap: 0;
    }

    .content_wrap .alert{
        text-align: center;
    }

    .section-header a{
        font-size: 10px;
    }

    .section-header .title{
        gap: 8px;
    }

    .section-header .title i{
        font-size: 15px;
    }

    .section_white {
        padding: 10px;
    }

    .pickup-info span{
        font-size: 10px;
    }

    .pickup-card h2 {
        font-size: 11px;
    }

    .performance-card .section-header{
        justify-content: center;
    }

    .dashboard-right .wallet-card {
        padding: 9px;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .wallet-top{
        margin-bottom: 0;
        width: 75%;
    }

    .add-money{
        width: 100%;
        justify-content: center;
    }

    .pickup-row .form-group{
        min-width: unset !important;
    }

    .pickup-row .select2-selection--single .select2-selection__rendered{
        font-size: 12px !important;
    }

    .warehouse-card{
        align-items: center;
        height: fit-content;
        min-height: unset;
    }

    .warehouse-card .warehouse-icon i{
        font-size: 14px;
        width: 0;
        height: 30px;
    }

    .warehouse-card .warehouse-icon{
        gap: 13px;
        height: 15px;
    }

    .warehouse-card h4{
        font-size: 13px;
        margin-top: 7px;
        margin-bottom: 0;
    }

    .warehouse-card p{
        font-size: 11px;
    }

    .wallet-wrap .orders-header .tab-btn {
        font-size: 10px;
    }

     .wallet-tab-content .recharge-wallet-card .quick-amount {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 3px;
    }

    .wallet-tab-content .recharge-wallet-card .quick-amount button {
        height: 27px;
        padding: 0 1px;
        font-size: 8px;
    }

    .tracking-details-grid .details-item{
        font-size: 11px;
    }

    .tracking-details-grid .details-card h3{
        font-size: 13px;
    }

    .tracking-details-grid .tracking-card{
        margin-bottom: 0;
    }

    .tracking-details-grid{
        margin-bottom: 15px;
    }

    .timeline-step{
        gap: 10px;
    }

    .timeline-card .card-header{
        margin-bottom: 0;
    }

    .tracking_dashboard_wrap .tracking-hero p{
        text-align: center;
    }

    .tracking_dashboard_wrap .search-input-wrapper input{
        padding: 15px 15px 15px 32px !important;
    }

    .tracking_dashboard_wrap .search-input-wrapper .search-icon{
        left: 0;
    }

    .faq-question span{
        font-size: 10px;
    }

    .ndr-wrap .filter-card .flatpickr-calendar.static{
        left: -19px;
    }

    .ndr-wrap .filter-card .flatpickr-calendar{
        width: 283px;
    }

    .content_wrap.profile_settings_wrap{
        padding: 10px;
    }

    .profile_section_card .section_title_wrap p{
        font-size: 9px;
    }

    .field_help{
        font-size: 9px;
    }

    
    form#changePasswordForm{
        padding: 0 5px;
    }

    .pwd_requirements{
        gap: 6px;
    }

    .password_card .card_header p{
        font-size: 11px;
    }

    .password_card .card_header h3{
        font-size: 16px;
    }

    /* steps  */

    .stepper{
        flex-direction: column;
    }

    .stepper .line {
        height: 50px;
        width: 2px;
        top: 0px;
        left: 140px;
        display: none;
    }

    .stepper .step{
        margin-top: 10px;
    }

}

@media print {
    body.print-slip-body {
        background-color: #ffffff !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .print_slip_sheet {
        box-shadow: none !important;
        border: 1px solid #000000 !important;
        margin: 0 auto !important;
        page-break-inside: avoid;
    }
}

@media screen and (min-width: 701px) {

    .sidebar {
        position: relative;
    }

    .sidebar.expanded {
        position: relative;
    }

}

/* Onboarding has a horizontal progress header on phones, not the app's
 * collapsible 75px dashboard rail. Keep these overrides after the generic
 * dashboard breakpoints so the two responsive systems cannot conflict. */
@media screen and (max-width: 700px) {
    .dashboard.onboarding {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 100vh;
        overflow: visible !important;
    }

    .dashboard.onboarding > .sidebar.onboarding-sidebar,
    .dashboard.onboarding > .sidebar.onboarding-sidebar.expanded {
        display: block !important;
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        overflow: hidden !important;
        transition: none !important;
    }

    .dashboard.onboarding > .content {
        position: relative !important;
        left: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
        filter: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        pointer-events: auto !important;
        user-select: auto !important;
        transition: none !important;
    }

    .dashboard.onboarding > .sidebar.expanded ~ .content {
        filter: none !important;
        pointer-events: auto !important;
        user-select: auto !important;
    }

    .dashboard.onboarding .topbar {
        width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box;
    }

    .dashboard.onboarding .content_wrap,
    .dashboard.onboarding .onboarding-step-form,
    .dashboard.onboarding .personal-info-card,
    .dashboard.onboarding .personal-info-card .card {
        min-width: 0 !important;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 480px) {
    .dashboard.onboarding .topbar {
        gap: 8px;
        padding: 10px 12px;
    }

    .dashboard.onboarding .topbar .left {
        min-width: 0;
        flex: 1 1 auto;
    }

    .dashboard.onboarding .topbar .search select {
        width: 54px;
        flex: 0 0 54px;
    }

    .dashboard.onboarding .topbar .search input {
        min-width: 0;
        padding-inline: 9px;
    }

    .dashboard.onboarding .topbar .search button {
        width: 44px;
        flex: 0 0 44px;
    }

    .dashboard.onboarding .topbar .right {
        flex: 0 0 auto;
    }

    .dashboard.onboarding .content_wrap .hero {
        flex-direction: column;
    }
}


@media screen and (max-width: 700px) {

    .dashboard {
        position: relative;
    }

    /* Collapsed sidebar stays on left */

    .sidebar {
        width: 75px;
        min-width: 75px;
        height: 100vh;
        position: relative;
        z-index: 1000;
        transition:
            width 0.45s ease,
            min-width 0.45s ease;
    }


    /* Expanded sidebar overlays content */

    .sidebar.expanded {
        width: 250px;
        min-width: 250px;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 9999;
    }

    /* Content should not move */

    .dashboard .content {
        flex: 1;
        width: auto;
        min-width: 0;
        height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
    }

    /* Expanded logo normal */

    .sidebar.expanded .logo {
        width: 100%;
    }

}

@media screen and (max-width: 380px){
    .wallet-wrap .orders-header .tab-btn {
        padding: 0 5px;
    }

    .tracking-card .card-header .header-left{
        flex-direction: column;
        align-items: start;
        gap: 5px;
    }

    .tracking-card .card-header .header-right{
        flex-direction: column;
        align-items: start;
        gap: 5px;
    }

    .courier-info{
        flex-wrap: wrap;
        justify-content: center;
    }

    .calc-btn{
        font-size: 11px;
    }

    .ticket-product-block, .ticket-address-block{
        font-size: 12px;
    }


    .get-ticket .orders-table tbody {
        padding: 5px !important;
    }

    .get-ticket .orders-table tbody tr {
        border-radius: 11px !important;
        margin-bottom: 8px !important;
    }

    .get-ticket .orders-table tr td {
        padding-left: 9px !important;
        padding-right: 9px !important;
    }

    .get-ticket .orders-table td:nth-child(2) strong {
        font-size: 12px !important;
    }

    .get-ticket .orders-table .shipment-actions {
        gap: 5px !important;
    }

    .get-ticket .orders-table .shipment-actions .btn {
        min-height: 30px !important;
        font-size: 8px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }



    .ndr-wrap .orders-table tbody {
        padding: 5px !important;
    }

    .ndr-wrap .orders-table tbody tr {
        border-radius: 11px !important;
    }

    .ndr-wrap .orders-table td {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .ndr-wrap .orders-table td:nth-child(2) strong {
        font-size: 11px !important;
    }

    .ndr-wrap .orders-actions{
        flex-direction: column;
    }

    .ndr-wrap .status-tabs{
        width: 100%;
        min-width: unset;
        max-width: unset;
        justify-content: space-between;
    }

    .status-tabs .status-tab{
        min-width: unset;
        padding: 0 10px;
    }

    .ndr-wrap .table-pagination{
        padding: 0;
    }



    .reports-wrap .orders-table tbody {
        padding: 5px !important;
    }

    .reports-wrap .orders-table tbody tr {
        border-radius: 12px !important;

        margin-bottom: 9px !important;
    }

    .reports-wrap .orders-table td {
        padding: 8px 9px !important;
    }

    .reports-wrap .orders-table td:nth-child(1) strong {
        font-size: 12px !important;
    }

    .reports-wrap .orders-table td:nth-child(2) strong,
    .reports-wrap .orders-table td:nth-child(3) strong,
    .reports-wrap .orders-table td:nth-child(4) strong,
    .reports-wrap .orders-table td:nth-child(5) strong {
        font-size: 8px !important;
    }

    .quick-card{
        width: 90%;
    }
    
    
}

@media screen and (max-width: 360px){
    .card:has(.pickup-row) .card-header h3{
        font-size: 14px;
    }

    .card .section-title{
        font-size: 14px;
    }

    .package-card .package-header h3{
        font-size: 14px;
    }

    .badge_verified, .badge_role{
        padding: 8px 10px;
    }

    .profile_section_card .section_title_wrap h3{
        font-size: 15px;
    }

    .profile_section_card .section_title_wrap h3 i{
        font-size: 13px;
    }
}

@media screen and (max-width: 350px) {

    .table-responsive:has(.wallet-table) .wallet-table tbody td {
        grid-template-columns: 65px minmax(0, 1fr) !important;
        gap: 5px !important;
        padding: 6px 8px !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td::before {
        font-size: 7px !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(2) {
        padding: 9px 34px 8px 10px !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(2) strong {
        font-size: 11px !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(5),
    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(9) {
        padding: 7px !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(5) .sub-head,
    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(9) .sub-head {
        gap: 3px !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(5) .sub-head span {
        min-height: 34px !important;
        padding: 4px 1px !important;
        font-size: 7px !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(5) .sub-head span::before {
        font-size: 6px !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(6) {
        font-size: 8px !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(9) .sub-head span {
        min-height: 27px !important;
        padding: 4px !important;
        font-size: 7px !important;
    }

    .table-responsive:has(.wallet-table) .wallet-table tbody td:nth-child(9) .sub-head span::before {
        font-size: 6px !important;
    }

     .wallet-tab-content .recharge-wallet-card .quick-amount {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2px;
    }

    .wallet-tab-content .recharge-wallet-card .quick-amount button {
        height: 25px;
        padding: 0;
        font-size: 7px;
    }
}

@media screen and (max-width: 340px){
    .wallet-wrap .orders-header .tab-btn {
        height: 35px;
        font-size: 9px;
    }

    .wallet-wrap .orders-header .order-tabs{
        height: 45px;
    }
}













