/* payments page */

    .payments-page {
        padding: 30px;
        background: #f5f7fb;
        min-height: 100vh;
    }

    .payments-header {
        max-width: 1100px;
        margin: 0 auto 25px;
    }

    .payments-header h1 {
        margin: 0;
        color: #092f57;
        font-size: 30px;
    }

    .payments-header p {
        margin-top: 6px;
        color: #707b8d;
    }


    .payment-summary-cards {
        max-width: 1100px;
        margin: 0 auto 25px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .payment-card {
        background: #fff;
        padding: 22px;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(0,0,0,.06);
    }

    .payment-card span {
        display: block;
        color: #707b8d;
        font-size: 13px;
        margin-bottom: 8px;
    }

    .payment-card strong {
        color: #092f57;
        font-size: 25px;
    }


    .payments-panel {
        max-width: 1100px;
        margin: auto;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(0,0,0,.06);
        overflow: hidden;
    }

    .panel-header {
        padding: 22px 25px;
        border-bottom: 1px solid #edf0f4;
    }

    .panel-header h2 {
        margin: 0;
        color: #092f57;
    }

    .panel-header p {
        margin: 5px 0 0;
        color: #7a8494;
        font-size: 13px;
    }


    .payments-table {
        width: 100%;
        border-collapse: collapse;
    }

    .payments-table th {
        background: #f8fafc;
        color: #566174;
        font-size: 12px;
        text-align: left;
        padding: 14px 16px;
        white-space: nowrap;
    }

    .payments-table td {
        padding: 16px;
        border-bottom: 1px solid #edf0f4;
        color: #394455;
        font-size: 13px;
    }

    .payments-table td small {
        display: block;
        margin-top: 4px;
        color: #8a94a4;
    }


    .payment-status {
        display: inline-block;
        padding: 5px 11px;
        border-radius: 20px;
        font-size: 11px;
        font-weight: 600;
    }

    .status-paid {
        background: #dcf7e8;
        color: #16834a;
    }

    .status-pending {
        background: #fff2d9;
        color: #a76b00;
    }

    .status-failed {
        background: #ffe1e1;
        color: #c62828;
    }

    .status-refunded {
        background: #e7e9ff;
        color: #414db5;
    }


    .invoice-link {
        color: #f56600;
        font-weight: 600;
        text-decoration: none;
    }

    .invoice-link:hover {
        text-decoration: underline;
    }

    .no-invoice {
        color: #999;
        font-size: 12px;
    }


    .empty-state {
        text-align: center;
        padding: 60px 20px !important;
    }

    .empty-icon {
        font-size: 35px;
        margin-bottom: 10px;
    }

    .empty-state h3 {
        margin: 0 0 5px;
        color: #092f57;
    }

    .empty-state p {
        margin: 0;
        color: #7c8797;
    }


    .pagination-wrapper {
        padding: 20px 25px;
    }


    /* invoice page */


/* qutaion details page */

    .quote-detail-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
         margin-bottom: 10px; 
    }

    .back-link {
        color: var(--orange);
        text-decoration: none;
        font-size: 13px;
        font-weight: 600;
    }



    .quote-detail-header h1 {
        margin: 8px 0 3px;
        color: var(--navy);
    }

    .quote-detail-header p {
        margin: 0;
        color: var(--text-muted);
    }


    .quote-detail-card {
        background: #fff;
        border-radius: 12px;
        margin-bottom: 20px;
        box-shadow: 0 4px 20px rgba(0,0,0,.05);
        overflow: hidden;
    }

    .card-heading {
        padding: 20px 24px;
        border-bottom: 1px solid #edf0f4;
    }

    .card-heading h2 {
        margin: 0;
        color: var(--navy);
        font-size: 19px;
    }


    .package-info {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        padding: 22px 24px;
    }

    .package-info span,
    .customization-info span {
        display: block;
        color: var(--text-muted);
        font-size: 12px;
        margin-bottom: 6px;
    }

    .package-info strong,
    .customization-info strong {
        color: #26364a;
        font-size: 14px;
    }


    .price-table {
        padding: 10px 24px 20px;
    }

    .price-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
        border-bottom: 1px solid #edf0f4;
        color: #596476;
    }

    .price-row strong {
        color: #26364a;
    }

    .price-row.total {
        border-bottom: none;
        border-top: 2px solid var(--navy);
        margin-top: 5px;
        color: var(--navy);
        font-size: 17px;
    }

    .price-row.total strong {
        color: var(--navy);
        font-size: 21px;
    }


    .customization-info {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        padding: 22px 24px;
    }


    .quote-actions-bottom {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-top: 10px;
    }



    .converted-message {
        padding: 12px 16px;
        border-radius: 8px;
        background: #e5f7ed;
        color: #16834a;
        font-weight: 600;
    }


    .expired-message {
        padding: 12px 16px;
        border-radius: 8px;
        background: #fff0df;
        color: #a86700;
    }

    .go_book{
        border: 1px solid #d8dee8; 
        padding:10px 12px; 
        border-radius:8px;
        font-weight: 600;
    }

    /* quote page */


    /* =========================================
    HEADER
    ========================================= */

    .quotes-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        margin-bottom: 25px;
    }

    .quotes-header h1 {
        margin: 0;
        color: var(--navy);
        font-size: 30px;
    }

    .quotes-header p {
        margin: 6px 0 0;
        color: var(--text-muted);
    }


    /* =========================================
    BUTTON
    ========================================= */

    .browse-packages-btn {
        display: inline-flex;
        align-items: center;
        padding: 11px 18px;
        border-radius: 8px;
        background: var(--orange);
        color: #fff;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
    }

    .browse-packages-btn:hover {
        opacity: .9;
    }


    /* =========================================
    SUMMARY
    ========================================= */

    .quote-summary {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
        margin-bottom: 25px;
    }

    .quote-stat {
        background: #fff;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 4px 18px rgba(0,0,0,.05);
    }

    .quote-stat span {
        display: block;
        color: var(--text-muted);
        font-size: 13px;
        margin-bottom: 7px;
    }

    .quote-stat strong {
        color: var(--navy);
        font-size: 25px;
    }


    /* =========================================
    QUOTE CARD
    ========================================= */

    .quote-card {
        background: #fff;
        border-radius: 13px;
        margin-bottom: 18px;
        box-shadow: 0 4px 20px rgba(0,0,0,.05);
        overflow: hidden;
    }


    /* =========================================
    CARD HEADER
    ========================================= */

    .quote-card-header {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        padding: 22px 24px;
        border-bottom: 1px solid #edf0f4;
    }

    .quote-label {
        color: var(--orange);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 1px;
    }

    .quote-card-header h2 {
        margin: 5px 0 4px;
        color: var(--navy);
        font-size: 20px;
    }

    .quote-destination {
        margin: 0;
        color: var(--text-muted);
        font-size: 13px;
    }


    /* =========================================
    STATUS
    ========================================= */

    .quote-status {
        height: fit-content;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 11px;
        font-weight: 700;
    }

    .quote-status.active {
        background: #dcf7e8;
        color: #16834a;
    }

    .quote-status.converted {
        background: #fff0d8;
        color: #a86700;
    }

    .quote-status.expired {
        background: #ffe2e2;
        color: #c62828;
    }

    .quote-status.cancelled {
        background: #eceef2;
        color: #667080;
    }

    .quote-status.pending {
        background: #fff2d9;
        color: #a76b00;
    }


    /* =========================================
    DETAILS
    ========================================= */

    .quote-details {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        padding: 20px 24px;
        gap: 20px;
    }

    .quote-detail span {
        display: block;
        color: var(--text-muted);
        font-size: 12px;
        margin-bottom: 6px;
    }

    .quote-detail strong {
        color: #26364a;
        font-size: 14px;
    }

    .quote-detail.price strong {
        color: var(--navy);
        font-size: 18px;
    }


    /* =========================================
    FOOTER
    ========================================= */

    .quote-card-footer {
        padding: 15px 24px;
        border-top: 1px solid #edf0f4;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }

    .quote-created {
        color: var(--text-muted);
        font-size: 12px;
    }

    .quote-actions {
        display: flex;
        gap: 9px;
    }

    .btn-view-quote,
    .btn-book-package {
        padding: 9px 14px;
        border-radius: 7px;
        text-decoration: none;
        font-size: 12px;
        font-weight: 600;
    }

    .btn-view-quote {
        border: 1px solid #d8dee8;
        color: var(--navy);
        background: #fff;
    }

    .btn-book-package {
        border: 1px solid #d8dee8;
        background: #f8f9fa;
        color: #000;
    }


    /* =========================================
    EMPTY
    ========================================= */

    .quotes-empty {
        background: #fff;
        border-radius: 12px;
        padding: 70px 20px;
        text-align: center;
        box-shadow: 0 4px 20px rgba(0,0,0,.05);
    }

    .empty-icon {
        font-size: 42px;
        margin-bottom: 12px;
    }

    .quotes-empty h2 {
        margin: 0 0 8px;
        color: var(--navy);
    }

    .quotes-empty p {
        max-width: 480px;
        margin: 0 auto 22px;
        color: var(--text-muted);
        line-height: 1.6;
    }


    /* =========================================
    RESPONSIVE
    ========================================= */

    @media (max-width: 900px) {

        .quote-summary {
            grid-template-columns: 1fr;
        }

        .quote-details {
            grid-template-columns: repeat(2, 1fr);
        }

    }

    @media (max-width: 600px) {

        .quotes-header {
            flex-direction: column;
            align-items: flex-start;
        }

        .quote-card-header {
            flex-direction: column;
        }

        .quote-details {
            grid-template-columns: 1fr;
        }

        .quote-card-footer {
            flex-direction: column;
            align-items: flex-start;
        }

        .quote-actions {
            width: 100%;
        }

        .btn-view-quote,
        .btn-book-package {
            flex: 1;
            text-align: center;
        }

    }




    @media(max-width: 900px) {

        .package-info,
        .customization-info {
            grid-template-columns: repeat(2, 1fr);
        }

    }


    @media(max-width: 600px) {

        .quote-detail-header {
            align-items: flex-start;
        }

        .package-info,
        .customization-info {
            grid-template-columns: 1fr;
        }

    }



    @media (max-width: 700px) {

        .invoice-page {
            padding: 15px;
        }

        .invoice-container {
            padding: 22px;
        }

        .invoice-header,
        .invoice-meta,
        .invoice-footer {
            flex-direction: column;
        }

        .invoice-title {
            text-align: left;
        }

        .invoice-info-grid {
            grid-template-columns: 1fr;
        }

        .invoice-total {
            width: 100%;
        }

        .btn-print {
            padding: 9px 12px;
        }
    }

    @media print {

        .invoice-page {
            padding: 0;
            background: #fff;
        }

        .invoice-actions {
            display: none;
        }

        .invoice-container {
            max-width: none;
            box-shadow: none;
            border-radius: 0;
            padding: 20px;
        }

    }


    @media (max-width: 900px) {

        .payment-summary-cards {
            grid-template-columns: 1fr;
        }

        .payments-panel {
            overflow-x: auto;
        }

        .payments-table {
            min-width: 900px;
        }

    }

/* Dashboard Responsive */
.dashboard-layout {
    min-width: 0;
}

.dashboard-main {
    min-width: 0;
    width: 100%;
}

.stats-grid {
    min-width: 0;
}

.stat-card {
    min-width: 0;
}

.quick-actions {
    min-width: 0;
}

.quick-action {
    min-width: 0;
}

/* Booking table */
.dashboard-table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.data-table {
    min-width: 650px;
}


/* Tablet */
@media (max-width: 900px) {

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* Mobile */
@media (max-width: 600px) {

    html,
    body {
        overflow-x: hidden;
    }

    .dashboard-layout {
        display: block;
        width: 100%;
        max-width: 100%;
        padding: 15px;
        box-sizing: border-box;
    }

    .dashboard-main {
        width: 100%;
        max-width: 100%;
    }

    .dashboard-main h1 {
        font-size: 24px !important;
        line-height: 1.3;
        margin-bottom: 20px !important;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .stat-card {
        width: 100%;
        box-sizing: border-box;
        min-height: 105px;
        padding: 20px;
        text-align: center;
    }

    .stat-card h3 {
        font-size: 26px;
        margin-bottom: 5px;
    }

    .quick-actions {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .quick-action {
        width: 100%;
        box-sizing: border-box;
        min-height: 65px;
        justify-content: center;
    }

    .dashboard-table-wrapper {
        width: 100%;
        overflow-x: auto;
    }

    .data-table {
        min-width: 650px;
    }
        .mobile_back{
        margin-top:15px;
    }

}


/* Very Small Mobile */
@media (max-width: 400px) {

    .dashboard-layout {
        padding: 10px;
    }

    .dashboard-main h1 {
        font-size: 21px !important;
    }

    .stat-card {
        min-height: 95px;
    }

    .quick-action {
        min-height: 60px;
    }
    .dashboard-main{
        text-align: center;
        margin-top:15px;
        margin-bottom:5px;
              
    }
    .dashboard-main h1{
       
        margin-bottom:5px !important;
    }

}

/* =========================================================
   FUNFACT MOBILE RESPONSIVE
   ========================================================= */

@media (max-width: 767px) {

    .funfact-section {
        padding: 70px 15px !important;
        overflow: hidden;
    }

    .funfact-section .auto-container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .funfact-section .inner-container {
        width: 100%;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 12px;
    }

    .funfact-section .funfact-block-one {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .funfact-section .funfact-block-one .inner-box {
        width: 100%;
        min-height: 190px;
        padding: 20px 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
    }

    .funfact-section .icon-box {
        width: 65px;
        height: 65px;
        margin-bottom: 12px;
    }

    .funfact-section .count-outer {
        margin: 0 0 5px;
    }

    .funfact-section .count-text {
        font-size: 28px;
        line-height: 1.2;
    }

    .funfact-section h3 {
        font-size: 15px;
        line-height: 1.3;
        margin: 0;
    }

    /* Hide decorative arrows on mobile */
    .funfact-section .arrow-shape {
        display: none;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .funfact-section {
        padding: 55px 12px !important;
    }

    .funfact-section .inner-container {
        gap: 14px 10px;
    }

    .funfact-section .funfact-block-one .inner-box {
        min-height: 175px;
        padding: 15px 8px;
    }

    .funfact-section .icon-box {
        width: 58px;
        height: 58px;
        margin-bottom: 10px;
    }

    .funfact-section .count-text {
        font-size: 25px;
    }

    .funfact-section h3 {
        font-size: 13px;
    }

}

/* =========================================================
   MOBILE - SECTION HEADER / VIEW ALL
   ========================================================= */

@media (max-width: 767px) {

    /* Top Destinations / Flexible Holidays heading */
    .sec-title,
    .section-title {
        width: 100%;
        box-sizing: border-box;
    }

    /* Header containing title + View All */
    .section-title .title-inner,
    .sec-title .title-inner {
        display: flex !important;
        align-items: flex-start;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
    }

    /* Main heading */
    .section-title h2,
    .sec-title h2 {
        flex: 1;
        min-width: 0;
        font-size: 21px !important;
        line-height: 1.35 !important;
        margin: 0;
    }

    /* View All / International */
    .section-title .view-all,
    .sec-title .view-all,
    .section-title > a,
    .sec-title > a {
        flex-shrink: 0;
        width: auto;
        max-width: 75px;
        text-align: right;
        font-size: 12px !important;
        line-height: 1.4;
        white-space: normal;
    }

    /* Prevent links from overlapping */
    .section-title a,
    .sec-title a {
        position: static !important;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .section-title h2,
    .sec-title h2 {
        font-size: 19px !important;
    }

    .section-title .view-all,
    .sec-title .view-all,
    .section-title > a,
    .sec-title > a {
        max-width: 65px;
        font-size: 11px !important;
    }

}