@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

body {
    background-color: #fafcfe !important;
    font-family: 'Outfit', Arial, Helvetica, sans-serif !important;
    color: #1a1a24;
}

.main {
    min-height: auto;
}

.invoice-heading {
    font-size: 20px;
}

.due-date-heading {
    color: #9da8bb;
    font-size: 13px;
    font-weight: 400;
}

.due-date-value {
    color: Red;
    font-size: 13px;
    font-weight: 400;
}

.invoice-number-section {
    font-size: 14px;
}

.invoice-number-section > span:first-child .invoice-number-heading,
.invoice-number-section > span:first-child .invoice-number-value {
    font-size: 15px;
    font-weight: 400;
}

.invoice-number-heading,
.invoice-number-value {
    font-size: 14px;
    font-weight: 400;
}

#desc-preview {
    font-size: 14px;
    font-weight: 400;
}

.og-primary-color {
    color: #000000 !important;
}
/* .og-primary-color {
    color: #000000 !important;
  }*/

.og-white-color {
    color: white;
}

.og-grey-color {
    color: #7a869a !important;
}

.og-primary-bg-color {
  background-color: var(--og-primary-bg-color) !important;
}

.due-amount {
    font-size: 20px !important;
    color: #000000 !important;
}

.total-value {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

/* shipping Delivery Css */
.customer-details-after-seller {
    margin-top: 4px;
}

.shippingDeliveryCardHeading {
    font-size: 14px !important;
    font-weight: 300 !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.shippingDetailSection .col-md-7,
.shippingDetailSection .col-sm-7,
.shippingDetailSection .col-lg-10,
.shippingDetailSection .col-xl-10,
.shippingDetailSection .col-7 {
    font-weight: 300 !important;
}

.shippingDetailSection .btn {
    background: transparent;
    border: 1px solid #dadbdf;
    border-radius: 8px !important;
    width: 32px;
    height: 32px;
    padding: 0;
}

/* css for general card */
.card {
    font-size: 14px !important;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    border-radius: 16px !important;
    margin-bottom: 4px;
    padding: 1.5rem !important;
}

.card:hover {
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.08) !important;
    transform: translateY(-2px);
}

/* Accordion cards — compact header row when collapsed */
.accordion > .card {
    padding: 0.5rem 1rem !important;
    margin-bottom: 4px;
}

.accordion > .card:has(> .collapse.show) {
    padding: 0.875rem 1.125rem !important;
}

.accordion > .card > .card-header.shippingDetailSection {
    padding: 0 !important;
    margin-bottom: 0 !important;
    min-height: unset;
}

.accordion > .card > .collapse.show > .card-body {
    padding: 0.625rem 0 0 !important;
}

#shippingDetail {
    font-size: 12px !important;
}

.shippingDetailSection .btn .fa {
    color: #dadbdf !important;
    outline: none !important;
}

button {
    outline: 0;
}

.shippingDetailSection {
    border: none !important;
    background-color: transparent !important;
}

#shippingDetail .card {
    border: none !important;
    border-top: 1px solid #f4f5f7 !important;
    border-bottom-left-radius: 15px !important;
    border-bottom-right-radius: 15px !important;
    border-top-right-radius: 0px !important;
    border-top-left-radius: 0px !important;
}

#shippingSectionCard #mainCard {
    border: 1px solid #f4f5f7 !important;
    border-radius: 15px !important;
}

.changeShippingContactbutton {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    font-size: 12px;
}

/* order card detail  */

#OrderDetail .card {
    border: none !important;
    border-top: 1px solid #f4f5f7 !important;
    border-bottom-left-radius: 15px !important;
    border-bottom-right-radius: 15px !important;
    border-top-right-radius: 0px !important;
    border-top-left-radius: 0px !important;
}

#OrderDetail .fa {
    height: 23px !important;
    width: 16px !important;
}

/* Payment card detail  */
#paymentChanelDetail .card {
    border: none !important;
    border-top: 1px solid #f4f5f7 !important;
    border-bottom-left-radius: 15px !important;
    border-bottom-right-radius: 15px !important;
    border-top-right-radius: 0px !important;
    border-top-left-radius: 0px !important;
}

#paymentChanelDetail .fa {
    height: 23px !important;
    width: 16px !important;
}


/* Delivery card detail */
#shippingSectionCard1 #mainCard {
    border: 1px solid #f4f5f7 !important;
    border-radius: 15px !important;
}

#shippingDetail2 {
    font-size: 12px !important;
}

    #shippingDetail2 .card {
        border: none !important;
        border-top: 1px solid #f4f5f7 !important;
        border-bottom-left-radius: 15px !important;
        border-bottom-right-radius: 15px !important;
        border-top-right-radius: 0px !important;
        border-top-left-radius: 0px !important;
    }

    #shippingDetail2 .fa {
        height: 23px !important;
        width: 16px !important;
    }


/* Pickup detail */
#shippingSectionCard2 #mainCard {
    border: 1px solid #f4f5f7 !important;
    border-radius: 15px !important;
}

#shippingDetail3 {
    font-size: 12px !important;
}

    #shippingDetail3 .card {
        border: none !important;
        border-top: 1px solid #f4f5f7 !important;
        border-bottom-left-radius: 15px !important;
        border-bottom-right-radius: 15px !important;
        border-top-right-radius: 0px !important;
        border-top-left-radius: 0px !important;
    }

shippingDetail3 .fa {
    height: 23px !important;
    width: 16px !important;
}

.companyLogo {
    height: 90px !important;
    width: 90px !important;
}

.seller-logo-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: end;
    overflow: visible;
    width: 100%;
}

.name-image-container.seller-logo-contact {
    overflow: visible;
}

.seller-logo-contact .companyLogo {
    float: none;
}

.seller-logo-contact .contact-seller-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    white-space: nowrap;
}

.seller-logo-contact .contact-seller-button span {
    float: none;
}

.seller-logo-contact .support-agent-icon {
    width: 16px !important;
    height: 16px !important;
    float: none;
    flex-shrink: 0;
}

.companyName {
    font-size: 14px;
    font-weight: 400;
}

.branch-name {
    font-weight: 400;
}

#SellerDetail .seller-detail-name {
    font-size: 15px;
    font-weight: 400;
}

#SellerDetail .branch-name,
#SellerDetail .seller-info-row,
#SellerDetail .sellerdetailphone,
#shippingDetail2 .fullname,
#shippingDetail2 .email,
#shippingDetail2 .contact-number,
#shippingDetail2 .address {
    font-weight: 400;
}

.companyInfo {
    font-size: 12px;
}

.calculation-section {
    border-top: 1px solid #f4f5f7 !important;
    margin-top: 1rem;
    padding-top: 1rem;
}

/* Seller Section */
#SellerDetail .card {
    border: none !important;
    border-top: 1px solid #f4f5f7 !important;
    border-bottom-left-radius: 15px !important;
    border-bottom-right-radius: 15px !important;
    border-top-right-radius: 0px !important;
    border-top-left-radius: 0px !important;
}

#CustomerDetail .card {
    border: none !important;
    border-top: 1px solid #f4f5f7 !important;
    border-bottom-left-radius: 15px !important;
    border-bottom-right-radius: 15px !important;
    border-top-right-radius: 0px !important;
    border-top-left-radius: 0px !important;
}

.contact-seller-button {
    position: relative;
    margin-top: 10px;
    border-color: #000000 !important;
    color: #000000 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 400;
}

    .contact-seller-button:hover {
        color: white !important;
      background-color: var(--og-primary-bg-color) !important;
        outline: 0;
    }

.support-agent-icon {
    width: 18px;
    height: 18px;
}

/* secure payment banner */
.secure-payment-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #edfaf4;
    border: 1px solid #c3eeda;
    border-radius: 10px;
    padding: 10px 14px;
    gap: 8px;
    flex-wrap: wrap;
}

.secure-payment-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #1a6c45;
}

.secure-payment-icon {
    font-size: 16px;
    color: #22a06b;
    flex-shrink: 0;
}

.secure-payment-icon-outline {
    -webkit-text-stroke: 0.35px #22a06b;
}

.secure-payment-icon-filled {
    color: #22a06b;
}

/* seller info rows with icons */
.seller-info-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
}

[dir="rtl"] .seller-info-row {
    direction: rtl;
}

.seller-info-row .sellerdetailphone,
.seller-info-row bdi[dir="ltr"],
.seller-info-row > span[dir="ltr"],
.seller-info-row > a {
    direction: ltr;
    unicode-bidi: isolate;
}

.seller-info-icon {
    font-size: 13px;
    flex-shrink: 0;
    color: var(--og-primary-bg-color, #5B4EFF);
    -webkit-text-stroke: 0.6px currentColor;
}

/* customer details horizontal row */
.customer-details-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    padding: 4px 0;
}

.customer-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 18px;
    flex: 1 1 0;
    min-width: 0;
}

.customer-detail-item:first-child {
    padding-inline-start: 0;
}

.customer-detail-item-ltr .customerEmail,
.customer-detail-item-ltr .mobileNumber,
.customer-detail-item-ltr #spnCustomerEmail,
.customer-detail-item-ltr #spnCustomerMobileNumber {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
}

[dir="rtl"] .customer-details-row {
    flex-direction: row-reverse;
}

.customer-detail-divider {
    width: 1px;
    height: 28px;
    background-color: #e2e8f0;
    flex-shrink: 0;
}

.customer-detail-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background-color: rgba(91, 78, 255, 0.1);
    flex-shrink: 0;
}

.customer-detail-icon {
    font-size: 14px;
    color: var(--og-primary-bg-color, #5B4EFF);
    -webkit-text-stroke: 0.4px currentColor;
}

.customer-details-row .customerName,
.customer-details-row .customerEmail,
.customer-details-row .mobileNumber,
.customer-details-row #spnCustomerName,
.customer-details-row #spnCustomerEmail,
.customer-details-row #spnCustomerMobileNumber {
    font-size: 14px;
    font-weight: 400;
    color: #1e293b;
    word-break: break-word;
}

@media (max-width: 767px) {
    .customer-details-row {
        flex-direction: column;
        align-items: flex-start;
    }

    [dir="rtl"] .customer-details-row {
        flex-direction: column;
        align-items: flex-end;
    }

    .customer-detail-divider {
        display: none;
    }

    .customer-detail-item {
        width: 100%;
        padding: 6px 0;
    }

    [dir="rtl"] .customer-detail-item {
        justify-content: flex-start;
    }
}

/* banner css  */
.banner-HBG {
    height: 94px !important;
    background: url("./assets/bannerWeb/Group\ 13.svg") no-repeat;
    background-position: center;
}

/* pay button css  */
.pay-button {
    width: 100% !important;
    color: white !important;
    border-radius: 12px !important;
    margin-bottom: 0.5rem;
    font-weight: 600 !important;
    font-size: 16px !important;
    padding: 8px 20px !important;
    background-color: var(--og-primary-bg-color, #5B4EFF) !important;
    box-shadow: 0 4px 20px rgba(91, 78, 255, 0.35) !important;
    transition: all 0.3s ease !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 4px !important;
    direction: ltr !important;
    unicode-bidi: isolate !important;
    letter-spacing: 0.01em !important;
}

.pay-button-amount {
    direction: ltr !important;
    unicode-bidi: isolate !important;
}

.pay-button-arrow {
    direction: ltr !important;
    font-size: 1.1em;
    margin-left: auto;
    flex-shrink: 0;
}

.pay-button--en .pay-button-arrow {
    margin-left: auto;
}

.pay-button--ar {
    justify-content: flex-start !important;
}

.pay-button--ar .pay-button-arrow {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.pay-button--ar .pay-button-amount {
    margin-left: auto;
}

.pay-button--ar .pay-button-label {
    margin-left: 6px;
    flex-shrink: 0;
}

[dir="rtl"] .contact-seller-button {
    flex-direction: row-reverse;
}

.pay-button:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 28px rgba(91, 78, 255, 0.45) !important;
    background-color: var(--og-primary-bg-color, #4a3eee) !important;
}

.pay-button:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 10px rgba(91, 78, 255, 0.3) !important;
}

/* model css */
.form-control {
    border: 1px solid rgba(0,0,0,0.05);
    font-size: 14px !important;
    border-radius: 10px;
    background-color: rgba(255,255,255,0.7) !important;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: rgba(255,255,255,0.95) !important;
    box-shadow: 0 0 0 4px rgba(0,0,0,0.05) !important;
    border-color: rgba(0,0,0,0.1) !important;
    outline: none !important;
}

#descriptionarea.form-select {
    border: 1px solid rgba(0,0,0,0.05);
    font-size: 14px !important;
    border-radius: 10px;
    background-color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

#descriptionarea.form-select:focus {
    background-color: rgba(255,255,255,0.95);
    box-shadow: 0 0 0 4px rgba(0,0,0,0.05);
    border-color: rgba(0,0,0,0.1);
    outline: none;
}

[dir="rtl"] #descriptionarea.form-select {
    background-position: left 0.75rem center;
    padding-left: 2.25rem;
    padding-right: 0.75rem;
}

/* modal Css */
.modal-content {
    border: 0px;
}

.modal-header {
    display: inline;
}

#exampleModalLabel {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: -0.28px;
    line-height: 24px;
}

/* model button  */
#saveContact:hover {
    color: white;
}

.select-and-delivery-button {
    position: relative;
    margin-top: 10px;
    border-color: #000000 !important;
    color: #000000 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700;
}

    .select-and-delivery-button:hover {
        color: white !important;
      background-color: var(--og-primary-bg-color) !important;
        outline: 0;
    }
/* css for radio button and checkbox */
.form-check-input[type="checkbox"],
.form-check-input[type="radio"],
input:where([type="checkbox"], [type="radio"]):not(.timeline-radio) {
    -webkit-appearance: none;
    appearance: none;
    vertical-align: middle;
    border: 2px solid #ddd;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: border-color 0.2s ease-in-out, background-color 0.2s ease-in-out;
    cursor: pointer;
}

.form-check-input[type="checkbox"]:hover,
.form-check-input[type="radio"]:hover,
input:where([type="checkbox"], [type="radio"]):not(.timeline-radio):hover {
    border-color: #aaa;
}

.form-check-input[type="radio"],
input[type="radio"]:not(.timeline-radio) {
    border-radius: 50%;
}

.form-check-input[type="radio"]:checked,
.form-check-input[type="checkbox"]:checked,
input:where([type="checkbox"], [type="radio"]):not(.timeline-radio):checked {
    border-color: var(--og-primary-bg-color, #7D00E2) !important;
    background-color: var(--og-primary-bg-color, #7D00E2) !important;
    outline: none;
    box-shadow: none !important;
}

.form-check-input[type="radio"]:checked,
input[type="radio"]:not(.timeline-radio):checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e") !important;
}

.form-check-input[type="checkbox"]:checked,
input[type="checkbox"]:not(.timeline-radio):checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e") !important;
}

.form-check-input[type="checkbox"]:disabled,
.form-check-input[type="radio"]:disabled,
input:where([type="checkbox"], [type="radio"]):disabled {
    background-color: #eee;
}

.address_pickup {
    font-size: 12px !important;
}

/* css for MOBILE */
@media only screen and (max-width: 576px) {
    .main {
        font-size: 12px !important;
    }

    .card {
        font-size: 12px !important;
        flex: 1 1 auto;
        padding: 1rem 1rem !important;
    }

    .modal-dialog {
        position: fixed !important;
        top: auto !important;
        width: 100% !important;
        /* right: auto !important; */
        left: auto !important;
        bottom: 0 !important;
        margin: 0px !important;
    }

    .modal-indicator {
        height: 5px;
        width: 40px;
        opacity: 0.05;
        border-radius: 100px;
        background-color: #000000;
    }

    .modal-content {
        border-radius: 30px 30px 0 0;
    }

    /* banner css  */
    .banner-HBG {
        width: 100% !important;
        height: 141px !important;
        background: url("./assets/bannerMobile/Group\ 23.svg") no-repeat;
        background-position: center;
    }
}

/* CSS FOR TAB */

@media only screen and (max-width: 991px) {
    /* banner css  */
    .banner-HBG {
        width: 100%;
        height: 141px !important;
        background: url("./assets/bannerTab/Group\ 23\ Copy\ 4.svg") no-repeat;
        background-position: center;
    }
}

/* Classes for rtl implementation */

.text-right {
    text-align: right !important;
}

.row-reverse {
    flex-direction: row-reverse !important;
}

@media (min-width: 768px) {
    #languageSelector {
        width: auto !important;
    }
}

/*CSS for footer*/
.frame,
.frame * {
    box-sizing: border-box;
}

.frame {
    background: #040e20;
    padding: 16px;
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.group-56 {
    flex-shrink: 0;
    width: 100.7px;
    height: 15.76px;
    position: relative;
    overflow: visible;
}

.invoice {
    color: var(--fonts-color-secondary-text, #8b95a6);
    text-align: left;
    font-family: "Arial-Medium", sans-serif;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: -0.25px;
    font-weight: 500;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#loader img {
    width: 70px; /* Adjust size as needed */
    height: 70px; /* Adjust size as needed */
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's above other elements */
}

button.og-secondary-bg-color,
.btn.og-secondary-bg-color {
    background-color: #000000 !important; /* black background */
    color: #ffffff !important; /* white text */
    border: 1px solid #000000 !important; /* black border to match */
    border-radius: 10px !important; /* slightly rounded corners */
    transition: all 0.3s ease !important;
}

button.og-secondary-bg-color:hover,
.btn.og-secondary-bg-color:hover {
    background-color: #333 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.dark-svg {
    filter: brightness(0);
}

