/* =========================================================
   ORDER TRACKING WRAPPER
========================================================= */

.order-tracking-wrapper {
    width: 100%;
}


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

.tracking-header {
    display: flex;
    align-items: flex-start;

    gap: 15px;

    margin-bottom: 25px;
}

.tracking-header-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 12px;

    background: #f3f6ff;

    color: #5267d9;

    font-size: 19px;
}

.tracking-eyebrow {
    display: block;

    margin-bottom: 4px;

    color: #999;

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

    letter-spacing: 1.5px;
}

.tracking-header .title {
    margin: 0 0 6px;

    color: #222;

    font-size: 24px;
    font-weight: 600;
}

.tracking-header p {
    max-width: 650px;

    margin: 0;

    color: #888;

    font-size: 13px;
    line-height: 1.7;
}


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

.tracking-form-card {
    padding: 25px;

    border: 1px solid #e9e9e9;

    border-radius: 14px;

    background: #fff;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.035);
}


/* =========================================================
   INPUT GROUP
========================================================= */

.tracking-input-group label {
    display: flex;

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

    margin-bottom: 8px;

    color: #333;

    font-size: 12px;
    font-weight: 600;
}

.tracking-input-group label span {
    display: flex;

    align-items: center;

    gap: 6px;
}

.tracking-input-group label span i {
    color: #888;

    font-size: 12px;
}

.tracking-input-group label small {
    color: #aaa;

    font-size: 10px;
    font-weight: 400;
}


/* =========================================================
   INPUT
========================================================= */

.tracking-input-wrap {
    position: relative;
}

.tracking-input-wrap > i {
    position: absolute;

    left: 15px;
    top: 50%;

    transform: translateY(-50%);

    color: #999;

    font-size: 13px;

    pointer-events: none;

    transition: color 0.2s ease;
}

.tracking-input-wrap input {
    width: 100%;
    height: 50px;

    padding: 0 15px 0 43px;

    border: 1px solid #e2e2e2;

    border-radius: 7px;

    outline: none;

    background: #fff;

    color: #222;

    font-size: 13px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.tracking-input-wrap input::placeholder {
    color: #b0b0b0;
}

.tracking-input-wrap input:hover {
    border-color: #ccc;
}

.tracking-input-wrap input:focus {
    border-color: #222;

    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.045);
}

.tracking-input-wrap:focus-within > i {
    color: #222;
}


/* =========================================================
   SUBMIT AREA
========================================================= */

.tracking-submit-area {
    display: flex;

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

    gap: 20px;

    margin-top: 4px;
}

.tracking-secure {
    display: flex;

    align-items: center;

    gap: 7px;

    color: #999;

    font-size: 11px;
}

.tracking-secure i {
    color: #777;
}


/* =========================================================
   BUTTON
========================================================= */

.tracking-submit-btn {
    min-width: 145px;
    height: 46px;

    display: inline-flex;

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

    padding: 0 20px;

    border: 0;
    border-radius: 6px;

    background: #111;

    color: #fff;

    font-size: 13px;
    font-weight: 500;

    cursor: pointer;

    transition: all 0.2s ease;
}

.tracking-submit-btn:hover {
    background: #2b2b2b;
}

.tracking-submit-btn:disabled {
    opacity: 0.65;

    cursor: not-allowed;
}

.tracking-btn-text,
.tracking-btn-loader {
    display: inline-flex;

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

    gap: 8px;
}

.tracking-btn-loader.d-none {
    display: none !important;
}


/* =========================================================
   RESULT
========================================================= */

.tracking-result {
    margin-top: 25px;

    animation: trackingResultIn 0.35s ease;
}

@keyframes trackingResultIn {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

}


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

.tracking-result-card {
    overflow: hidden;

    border: 1px solid #e9e9e9;

    border-radius: 14px;

    background: #fff;
}


/* =========================================================
   RESULT HEADER
========================================================= */

.tracking-result-header {
    display: flex;

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

    gap: 15px;

    padding: 20px 22px;

    border-bottom: 1px solid #eeeeee;
}

.tracking-result-order {
    display: flex;

    align-items: center;

    gap: 12px;
}

.tracking-result-order-icon {
    width: 42px;
    height: 42px;

    display: flex;

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

    border-radius: 10px;

    background: #f5f5f5;

    color: #333;
}

.tracking-result-order span {
    display: block;

    margin-bottom: 3px;

    color: #999;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 0.8px;
}

.tracking-result-order strong {
    color: #222;

    font-size: 15px;
}


/* =========================================================
   STATUS BADGE
========================================================= */

.tracking-status-badge {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 7px 11px;

    border-radius: 30px;

    background: #eef8f3;

    color: #24915a;

    font-size: 11px;

    font-weight: 600;
}

.tracking-status-badge i {
    font-size: 8px;
}


/* =========================================================
   RESULT BODY
========================================================= */

.tracking-result-body {
    padding: 25px 22px;
}


/* =========================================================
   ORDER INFO
========================================================= */

.tracking-info-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;

    margin-bottom: 30px;
}

.tracking-info-item {
    padding: 15px;

    border: 1px solid #eeeeee;

    border-radius: 9px;

    background: #fafafa;
}

.tracking-info-item span {
    display: block;

    margin-bottom: 5px;

    color: #999;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 0.5px;
}

.tracking-info-item strong {
    color: #222;

    font-size: 13px;
}


/* =========================================================
   TIMELINE
========================================================= */

.tracking-timeline {
    position: relative;

    padding-left: 32px;
}

.tracking-timeline::before {
    content: "";

    position: absolute;

    left: 8px;
    top: 8px;
    bottom: 8px;

    width: 1px;

    background: #e5e5e5;
}

.tracking-step {
    position: relative;

    padding-bottom: 25px;
}

.tracking-step:last-child {
    padding-bottom: 0;
}

.tracking-step-icon {
    position: absolute;

    left: -32px;
    top: 0;

    width: 18px;
    height: 18px;

    display: flex;

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

    border-radius: 50%;

    background: #fff;

    border: 2px solid #ddd;

    color: #999;

    font-size: 7px;

    z-index: 2;
}

.tracking-step.active .tracking-step-icon {
    border-color: #222;

    background: #222;

    color: #fff;
}

.tracking-step h6 {
    margin: 0 0 3px;

    color: #333;

    font-size: 13px;

    font-weight: 600;
}

.tracking-step p {
    margin: 0;

    color: #999;

    font-size: 11px;
}


/* =========================================================
   ERROR RESULT
========================================================= */

.tracking-error-card {
    display: flex;

    align-items: center;

    gap: 14px;

    padding: 18px 20px;

    border: 1px solid #f0dddd;

    border-radius: 12px;

    background: #fff8f8;
}

.tracking-error-icon {
    width: 42px;
    height: 42px;

    display: flex;

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

    flex-shrink: 0;

    border-radius: 10px;

    background: #ffeaea;

    color: #d94b4b;
}

.tracking-error-card h6 {
    margin: 0 0 3px;

    color: #333;

    font-size: 13px;
}

.tracking-error-card p {
    margin: 0;

    color: #999;

    font-size: 11px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .tracking-header .title {
        font-size: 20px;
    }

    .tracking-form-card {
        padding: 18px;
    }

    .tracking-submit-area {
        align-items: stretch;

        flex-direction: column;
    }

    .tracking-secure {
        justify-content: center;
    }

    .tracking-submit-btn {
        width: 100%;
    }

    .tracking-info-grid {
        grid-template-columns: 1fr;
    }

    .tracking-result-header {
        align-items: flex-start;

        flex-direction: column;
    }

}


/* orders table page css */
/* =========================================================
   MY ORDERS PAGE
========================================================= */

.my-orders-page {
    width: 100%;
}


/* =========================================================
   PAGE HEADER
========================================================= */

.orders-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;
}

.orders-eyebrow {
    display: block;

    margin-bottom: 5px;

    color: #999;

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

    letter-spacing: 1.5px;
}

.orders-title {
    margin: 0 0 5px;

    color: #222;

    font-size: 26px;
    font-weight: 600;
}

.orders-heading p {
    margin: 0;

    color: #999;

    font-size: 13px;
}


/* =========================================================
   ORDER COUNT
========================================================= */

.orders-count-box {
    min-width: 110px;

    padding: 14px 18px;

    border: 1px solid #e9e9e9;

    border-radius: 10px;

    background: #fff;

    text-align: center;
}

.orders-count-box span {
    display: block;

    margin-bottom: 3px;

    color: #999;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: .5px;
}

.orders-count-box strong {
    color: #222;

    font-size: 20px;

    font-weight: 600;
}


/* =========================================================
   TOOLBAR
========================================================= */

.orders-toolbar {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 15px;
}


/* =========================================================
   SEARCH
========================================================= */

.orders-search {
    position: relative;

    flex: 1;
}

.orders-search > i {
    position: absolute;

    left: 15px;
    top: 50%;

    transform: translateY(-50%);

    color: #999;

    font-size: 13px;
}

.orders-search input {
    width: 100%;
    height: 46px;

    padding: 0 42px;

    border: 1px solid #e7e7e7;

    border-radius: 7px;

    outline: none;

    background: #fff;

    color: #222;

    font-size: 13px;

    transition: all .2s ease;
}

.orders-search input:focus {
    border-color: #222;

    box-shadow: 0 0 0 3px rgba(0, 0, 0, .04);
}

.orders-search input::placeholder {
    color: #aaa;
}

.orders-search-clear {
    position: absolute;

    right: 10px;
    top: 50%;

    transform: translateY(-50%);

    width: 28px;
    height: 28px;

    border: 0;

    border-radius: 50%;

    background: #f4f4f4;

    color: #666;

    cursor: pointer;
}


/* =========================================================
   STATUS FILTER
========================================================= */

.orders-filter {
    position: relative;

    width: 180px;
}

.orders-filter > i {
    position: absolute;

    left: 14px;
    top: 50%;

    transform: translateY(-50%);

    color: #999;

    font-size: 12px;

    pointer-events: none;
}

.orders-filter select {
    width: 100%;
    height: 46px;

    padding: 0 12px 0 36px;

    border: 1px solid #e7e7e7;

    border-radius: 7px;

    outline: none;

    background: #fff;

    color: #555;

    font-size: 12px;

    cursor: pointer;
}


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

.orders-table-card {
    overflow: hidden;

    border: 1px solid #e9e9e9;

    border-radius: 13px;

    background: #fff;
}


/* =========================================================
   TABLE HEADER
========================================================= */

.orders-table-header {
    display: flex;

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

    padding: 19px 22px;

    border-bottom: 1px solid #eeeeee;
}

.table-eyebrow {
    display: block;

    margin-bottom: 3px;

    color: #aaa;

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

    letter-spacing: 1px;
}

.orders-table-header h3 {
    margin: 0;

    color: #222;

    font-size: 16px;

    font-weight: 600;
}

.visible-order-count {
    color: #999;

    font-size: 11px;
}

.visible-order-count span {
    color: #222;

    font-weight: 600;
}


/* =========================================================
   TABLE
========================================================= */

.orders-table {
    margin: 0;
}

.orders-table thead th {
    padding: 14px 20px;

    border-bottom: 1px solid #eeeeee;

    background: #fafafa;

    color: #999;

    font-size: 10px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: .5px;

    white-space: nowrap;
}

.orders-table tbody td {
    padding: 17px 20px;

    border-bottom: 1px solid #f0f0f0;

    vertical-align: middle;
}

.orders-table tbody tr:last-child td {
    border-bottom: 0;
}

.orders-table tbody tr {
    transition: background .2s ease;
}

.orders-table tbody tr:hover {
    background: #fcfcfc;
}


/* =========================================================
   ORDER NUMBER
========================================================= */

.order-number-cell {
    display: flex;

    align-items: center;

    gap: 11px;
}

.order-icon {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    overflow: hidden;

    border-radius: 8px;

    background: #f5f5f5;

    color: #777;

    font-size: 14px;
}

.order-icon img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.order-number-cell span {
    display: block;

    margin-bottom: 2px;

    color: #aaa;

    font-size: 9px;

    text-transform: uppercase;
}

.order-number-cell strong {
    color: #222;

    font-size: 13px;

    font-weight: 600;
}


/* =========================================================
   DATE
========================================================= */

.order-date strong {
    display: block;

    color: #444;

    font-size: 12px;

    font-weight: 500;
}

.order-date span {
    display: block;

    margin-top: 2px;

    color: #aaa;

    font-size: 10px;
}


/* =========================================================
   STATUS
========================================================= */

.order-status {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 6px 10px;

    border-radius: 30px;

    font-size: 10px;

    font-weight: 600;

    white-space: nowrap;
}

.order-status i {
    font-size: 6px;
}

.order-status.success {
    background: #eef8f2;
    color: #24905a;
}

.order-status.processing {
    background: #fff7e8;
    color: #c98920;
}

.order-status.shipped {
    background: #eef5ff;
    color: #4d78c8;
}

.order-status.pending {
    background: #f5f5f5;
    color: #777;
}

.order-status.cancelled {
    background: #fff0f0;
    color: #d95353;
}


/* =========================================================
   TOTAL
========================================================= */

.order-total strong {
    color: #222;

    font-size: 13px;

    font-weight: 600;
}


/* =========================================================
   VIEW BUTTON
========================================================= */

.order-view-btn {
    display: inline-flex;

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

    gap: 7px;

    min-width: 72px;

    height: 34px;

    padding: 0 12px;

    border: 1px solid #e2e2e2;

    border-radius: 5px;

    background: #fff;

    color: #444;

    font-size: 11px;

    cursor: pointer;

    transition: all .2s ease;
}

.order-view-btn i {
    font-size: 10px;

    transition: transform .2s ease;
}

.order-view-btn:hover {
    border-color: #222;

    background: #222;

    color: #fff;
}

.order-view-btn:hover i {
    transform: translate(2px, -2px);
}


/* =========================================================
   EMPTY
========================================================= */

.orders-empty {
    padding: 55px 20px;

    text-align: center;
}

.orders-empty-icon {
    width: 55px;
    height: 55px;

    display: flex;

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

    margin: 0 auto 15px;

    border-radius: 50%;

    background: #f6f6f6;

    color: #999;

    font-size: 19px;
}

.orders-empty h4 {
    margin: 0 0 5px;

    color: #333;

    font-size: 15px;
}

.orders-empty p {
    margin: 0;

    color: #aaa;

    font-size: 12px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .orders-page-header {
        align-items: flex-start;

        flex-direction: column;
    }

    .orders-count-box {
        width: 100%;

        text-align: left;
    }

    .orders-toolbar {
        align-items: stretch;

        flex-direction: column;
    }

    .orders-filter {
        width: 100%;
    }

    .orders-table-header {
        padding: 16px;
    }

    .orders-table thead th,
    .orders-table tbody td {
        padding: 13px 12px;
    }

    .orders-table {
        min-width: 700px;
    }

}




/* order details css */
/* =========================================================
   INVOICE MODAL
========================================================= */

.invoice-modal {
    overflow: hidden;

    border: 0;
    border-radius: 16px;

    background: #fff;

    box-shadow: 0 25px 80px rgba(0, 0, 0, .18);
}


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

.invoice-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 20px 24px;

    border-bottom: 1px solid #eeeeee;

    background: #fff;
}

.invoice-heading {
    display: flex;
    align-items: center;

    gap: 12px;
}

.invoice-brand-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #f4f4f4;

    color: #222;

    font-size: 17px;
}

.invoice-eyebrow {
    display: block;

    margin-bottom: 3px;

    color: #999;

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

    letter-spacing: 1.5px;
}

.invoice-modal-header .modal-title {
    margin: 0;

    color: #222;

    font-size: 18px;
    font-weight: 600;
}

.invoice-close-btn {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: #f6f6f6;

    color: #666;

    cursor: pointer;

    transition: .2s ease;
}

.invoice-close-btn:hover {
    background: #222;
    color: #fff;
}


/* =========================================================
   BODY
========================================================= */

.invoice-modal-body {
    padding: 24px;
}


/* =========================================================
   TOP INFO
========================================================= */

.invoice-top-info {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 10px;

    margin-bottom: 20px;
}

.invoice-top-info > div {
    padding: 13px 14px;

    border: 1px solid #eeeeee;

    border-radius: 9px;

    background: #fafafa;
}

.invoice-top-info span {
    display: block;

    margin-bottom: 4px;

    color: #aaa;

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

    letter-spacing: 1px;
}

.invoice-top-info strong {
    display: block;

    color: #333;

    font-size: 12px;

    font-weight: 600;
}

.invoice-status {
    color: #278a58 !important;
}


/* =========================================================
   CUSTOMER
========================================================= */

.invoice-customer-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;

    margin-bottom: 22px;
}

.invoice-customer-card {
    padding: 18px;

    border: 1px solid #eeeeee;

    border-radius: 11px;

    background: #fff;
}

.invoice-section-heading {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 15px;
}

.invoice-section-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #f4f0ff;

    color: #6654b8;

    font-size: 12px;
}

.invoice-section-icon.shipping {
    background: #eef8f3;

    color: #32805b;
}

.invoice-section-heading span {
    display: block;

    margin-bottom: 2px;

    color: #aaa;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 1px;
}

.invoice-section-heading h6 {
    margin: 0;

    color: #333;

    font-size: 13px;

    font-weight: 600;
}

.invoice-address strong {
    display: block;

    margin-bottom: 5px;

    color: #333;

    font-size: 12px;
}

.invoice-address p {
    margin: 0;

    color: #777;

    font-size: 11px;

    line-height: 1.7;
}


/* =========================================================
   PRODUCTS
========================================================= */

/* =========================================================
   INVOICE PRODUCTS
========================================================= */

.invoice-products-section {
    margin-top: 28px;
}

.invoice-product {
    display: flex;
    align-items: center;
    gap: 18px;

    padding: 16px;

    margin-top: 12px;

    background: #fafafa;

    border: 1px solid #eeeeee;

    border-radius: 12px;

    transition: all 0.2s ease;
}

.invoice-product:hover {
    border-color: #dddddd;

    background: #fff;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}


/* Product Image */

.invoice-product-image {
    width: 72px;
    height: 72px;

    flex: 0 0 72px;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;

    border: 1px solid #eeeeee;

    border-radius: 10px;
}

.invoice-product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* Product Information */

.invoice-product-info {
    flex: 1;
    min-width: 0;
}

.invoice-product-category {
    display: block;

    margin-bottom: 3px;

    color: #999;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 0.7px;

    text-transform: uppercase;
}

.invoice-product-info h5 {
    margin: 0 0 7px;

    color: #222;

    font-size: 15px;

    font-weight: 600;

    line-height: 1.4;
}

.invoice-product-sku {
    display: block;

    margin-bottom: 7px;

    color: #999;

    font-size: 11px;
}

.invoice-product-meta {
    display: flex;

    align-items: center;

    gap: 20px;

    color: #777;

    font-size: 12px;
}

.invoice-product-meta strong {
    color: #333;

    font-weight: 600;
}


/* Product Total */

.invoice-product-total {
    min-width: 100px;

    text-align: right;
}

.invoice-product-total span {
    display: block;

    margin-bottom: 4px;

    color: #999;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 0.6px;
}

.invoice-product-total strong {
    color: #222;

    font-size: 15px;

    font-weight: 700;
}


/* Empty */

.invoice-empty-products {
    padding: 35px 20px;

    text-align: center;

    background: #fafafa;

    border: 1px dashed #ddd;

    border-radius: 12px;

    color: #999;
}

.invoice-empty-products i {
    display: block;

    margin-bottom: 10px;

    font-size: 28px;
}

.invoice-empty-products p {
    margin: 0;

    font-size: 13px;
}


/* Responsive */

@media (max-width: 575px) {

    .invoice-product {
        align-items: flex-start;

        flex-wrap: wrap;

        gap: 12px;
    }

    .invoice-product-info {
        width: calc(100% - 88px);
    }

    .invoice-product-total {
        width: 100%;

        padding-top: 10px;

        border-top: 1px solid #eee;

        text-align: left;
    }

}
/* =========================================================
   SUMMARY
========================================================= */

.invoice-summary-wrapper {
    display: flex;

    justify-content: flex-end;

    margin-bottom: 18px;
}

.invoice-summary {
    width: 310px;

    padding: 17px;

    border: 1px solid #eeeeee;

    border-radius: 10px;

    background: #fafafa;
}

.summary-row {
    display: flex;

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

    margin-bottom: 9px;

    color: #777;

    font-size: 11px;
}

.summary-row strong {
    color: #444;

    font-weight: 600;
}

.discount-row strong {
    color: #26915a;
}

.summary-divider {
    height: 1px;

    margin: 13px 0;

    background: #e5e5e5;
}

.summary-grand-total {
    display: flex;

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

    gap: 15px;
}

.summary-grand-total span {
    display: block;

    color: #333;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: .8px;
}

.summary-grand-total small {
    display: block;

    margin-top: 3px;

    color: #aaa;

    font-size: 8px;
}

.summary-grand-total strong {
    color: #222;

    font-size: 18px;

    font-weight: 700;

    white-space: nowrap;
}


/* =========================================================
   NOTE
========================================================= */

.invoice-note {
    display: flex;

    gap: 10px;

    padding: 13px 15px;

    border-radius: 8px;

    background: #f7f9fb;

    color: #777;
}

.invoice-note > i {
    margin-top: 2px;

    color: #888;

    font-size: 13px;
}

.invoice-note strong {
    display: block;

    margin-bottom: 3px;

    color: #444;

    font-size: 10px;
}

.invoice-note p {
    margin: 0;

    color: #888;

    font-size: 10px;

    line-height: 1.5;
}


/* =========================================================
   FOOTER
========================================================= */

.invoice-modal-footer {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    gap: 9px;

    padding: 15px 24px;

    border-top: 1px solid #eeeeee;

    background: #fff;
}

.invoice-close-button {
    height: 40px;

    padding: 0 17px;

    border: 1px solid #e2e2e2;

    border-radius: 6px;

    background: #fff;

    color: #555;

    font-size: 11px;

    cursor: pointer;
}

.invoice-close-button:hover {
    border-color: #222;

    color: #222;
}

.invoice-download-btn {
    height: 40px;

    min-width: 155px;

    padding: 0 18px;

    border: 0;

    border-radius: 6px;

    background: #222;

    color: #fff;

    font-size: 11px;

    font-weight: 600;

    cursor: pointer;

    transition: .2s ease;
}

.invoice-download-btn:hover {
    background: #000;
}

.invoice-download-btn:disabled {
    opacity: .7;

    cursor: not-allowed;
}

.invoice-download-text,
.invoice-download-loader {
    align-items: center;

    justify-content: center;

    gap: 7px;
}

.invoice-download-text {
    display: inline-flex;
}

.invoice-download-loader {
    display: inline-flex;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .invoice-modal-body {
        padding: 16px;
    }

    .invoice-top-info {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .invoice-customer-grid {
        grid-template-columns: 1fr;
    }

    .invoice-product {
        align-items: flex-start;
    }

    .invoice-product-total {
        margin-left: auto;
    }

    .invoice-summary {
        width: 100%;
    }

    .invoice-summary-wrapper {
        display: block;
    }

    .invoice-modal-footer {
        padding: 13px 16px;
    }

}