/* ----------------------------------- */
/* START:::Elements Default style   */
/* ----------------------------------- */
.shopeetech_sa_tag-p {
    text-align: start;
    margin-top: 0;
}

.shopeetech_sa_text {
    font-family: inherit;
    font-weight: 400;
    color: inherit;
}

.shopeetech_sa_title {
    font-family: inherit;
    font-weight: 500;
    color: inherit;
}

.shopeetech_sa_btn {
    width: 100%;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
    color: #fff;
    background-color: #333;
}

/* #shopeetech_sa-modal_step-1 {
    display: block;
}
#shopeetech_sa-modal_step-2 {
    display: none;
} */

.shopeetech_sa_hide-element {
    display: none !important;
}

.shopeetech_sa_btn-disabled {
    opacity: 50%;
    cursor: not-allowed !important;
}

/* ----------------------------------- */
/* START:::Button style   */
/* ----------------------------------- */

#shopeetech_sales-alert-btn-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 99999;
    overflow: visible;
}

#shopeetech_sales-alert-btn {
    cursor: pointer;
    border: none;
}

/* ----------------------------------- */
/* END:::button style   */
/* ----------------------------------- */

#shopeetech_sa_modal {
    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;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 1000;
}

#shopeetech_sa_modal.active {
    opacity: 1;
    visibility: visible;
}

#shopeetech_sa_container {
    background: white;
    padding: 20px;
    width: 400px;
    max-width: 90%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
}


/* ----------------------------------- */
/* START:::Modal style   */
/* ----------------------------------- */

#shopeetech_sa_close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease;
}

/* .shopeetech_sa-modal-image-active #shopeetech_sa_close {
    top: 0;
    right: 0;
} */

.shopeetech_sa-modal-image-active #shopeetech_sa_close {
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(0,0,0,0.35);
    color: #fff;
}

#shopeetech_sa_close:hover {
    background: rgba(255, 0, 0, 0.7);
    color: #fff;
}

/* title  */
.shopeetech_sa_title {
    font-family: inherit;
    font-weight: 500;
    /* line-height: 1.1; */
    color: inherit;
}


/* sub-title  */
#shopeetech_sa-modal_sub-title {
    font-family: inherit;
    font-weight: 400;
    color: inherit;
}

/* Form  */
.shopeetech-sa-form-error {
    font-size: 12px;
    color: #f7374f;
}

.shopeetech-sa-form-success {
    font-size: 12px;
    color: #00814b;
}

.shopeetech_sa-form-group {
    margin-bottom: 10px;
    text-align: start;
}

.shopeetech-form-control {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.shopeetech-form-control:focus {
    /* border-color: #333; */
    outline: none;
}

.shopeetech-image {
    padding: 0;
    margin-top: 35px;
}

.shopeetech_sa-popup-image {
    padding: 0;
    width: 100%;
    height: auto;
    display: block;
}

.shopeetech_sa-container-image-left,
.shopeetech_sa-container-image-right,
.shopeetech_sa-container-image-top {
    padding: 0 !important;
}

.shopeetech_sa-container-image-left #shopeetech_sa-content-wrapper,
.shopeetech_sa-container-image-right #shopeetech_sa-content-wrapper,
.shopeetech_sa-container-image-top #shopeetech_sa-content-wrapper {
    padding: 20px;
}

.shopeetech_sa-container-image-left #shopeetech_sa_container,
.shopeetech_sa-container-image-right #shopeetech_sa_container {
    padding: 0;
}

.shopeetech_sa-container-image-left #shopeetech_sa-content-wrapper,
.shopeetech_sa-container-image-right #shopeetech_sa-content-wrapper {
    padding: 20px;
}


/* checkboxes  */
.shopeetech_sa-checkbox-group {
    display: flex;
    flex-direction: row;
    gap: 15px;
    padding: 10px;
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 20px auto;
    /* justify-content: space-between; */
}

.shopeetech_sa-checkbox-item {
    display: flex;
    align-items: center;
    padding: 8px;
    position: relative;
}

.shopeetech_sa-custom-checkbox-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.shopeetech_sa-custom-checkbox {
    display: none !important;
    /* Hide the default checkbox */
}

.shopeetech_sa-custom-checkbox-style {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 2px solid #333;
    border-radius: 4px;
    position: relative;
    transition: background-color 0.3s ease, border 0.3s ease;
}

.shopeetech_sa-custom-checkbox:checked+.shopeetech_sa-custom-checkbox-style {
    background-color: #333;
    border-color: #333;
    border: 2px;
}

.shopeetech_sa-custom-checkbox:checked+.shopeetech_sa-custom-checkbox-style::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 7px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.shopeetech_sa-checkbox-item:hover .shopeetech_sa-custom-checkbox-style {
    background-color: #333;
    border-color: #333;
}

.shopeetech_sa-checkbox-item .shopeetech_sa-custom-checkbox-label:hover {
    color: #333;
}

/* Responsive Design: Adjust size on smaller screens */
@media screen and (max-width: 480px) {
    .shopeetech_sa-checkbox-group {
        padding: 10px;
    }

    .shopeetech_sa-custom-checkbox-style {
        width: 18px;
        height: 18px;
    }

    .shopeetech_sa-checkbox-item {
        font-size: 12px;
    }
}

/* submit-btn  */
.shopeetech_sa-form-submit-btn {
    /* max-width: 250px; */
    width: 100%;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #333;
    /* Primary Color */
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
}

#shopeetech_sa-form-response-group p {
    font-size: 12px;
    font-weight: 400;
    padding: 10px;
}

#shopeetech_sa-form-response-group #shopeetech_sa-form-response-success {
    background: #28a745;
    color: #fff;
}

#shopeetech_sa-form-response-group #shopeetech_sa-form-response-error {
    background: #dc3545;
    color: #fff;
}

#shopeetech_sa-form-privacy {
    text-align: start;
    font-size: 12px;
    color: #555;
}


/* Thank-you page  */
.shopeetech_sa-button-group {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* Upsell Products */
#sa-upsell-products {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e5e5e5;
}
#sa-upsell-heading {
    margin: 0 0 6px 0;
    font-weight: 600;
    font-size: 12px;
}
#sa-upsell-grid {
    display: grid;
    gap: 6px;
}
#sa-upsell-grid.bis-upsell-horizontal {
    grid-template-columns: repeat(var(--bis-upsell-cols, 4), 1fr);
}
#sa-upsell-grid.bis-upsell-vertical {
    grid-template-columns: 1fr;
}
#sa-upsell-products .bis-upsell-card {
    display: flex !important;
    text-decoration: none !important;
    color: inherit !important;
    overflow: hidden;
    min-width: 0;
}
#sa-upsell-products .bis-upsell-horizontal .bis-upsell-card {
    flex-direction: column;
    gap: 3px;
    height: 100%;
}
#sa-upsell-products .bis-upsell-vertical .bis-upsell-card {
    flex-direction: row;
    gap: 6px;
    align-items: center;
}
#sa-upsell-products .bis-upsell-card-img {
    object-fit: cover !important;
    border-radius: 3px;
    flex-shrink: 0;
    display: block;
}
#sa-upsell-products .bis-upsell-horizontal .bis-upsell-card-img {
    width: 100% !important;
}
#sa-upsell-products .bis-upsell-vertical .bis-upsell-card-img {
    width: 32px !important;
    height: 32px !important;
}
#sa-upsell-products .bis-upsell-card-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 10px !important;
    color: #333;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
#sa-upsell-products .bis-upsell-horizontal .bis-upsell-card-title {
    -webkit-line-clamp: 1;
    flex: 1;
}
#sa-upsell-products .bis-upsell-vertical .bis-upsell-card-title {
    -webkit-line-clamp: 1;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}
#sa-upsell-products .bis-upsell-card-btn {
    border: none !important;
    border-radius: 3px;
    padding: 2px 6px !important;
    cursor: pointer;
    text-align: center;
    text-decoration: none !important;
    display: inline-block;
    line-height: 1.2;
    font-size: 10px !important;
    box-sizing: border-box;
}
#sa-upsell-products .bis-upsell-horizontal .bis-upsell-card-btn {
    width: 100%;
    margin-top: auto;
}
#sa-upsell-products .bis-upsell-vertical .bis-upsell-card-btn {
    flex-shrink: 0;
}

.iti {
    width: 100%;
}

/* Spinner-style  */
#shopeetech_sa-spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #ccc;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 48%;
    z-index: 9999;
    display: block;
}

.shopeetech_sa-blur-overlay {
    filter: blur(2px);
    pointer-events: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ----------------------------------- */
/* END:::Modal style   */
/* ----------------------------------- */

#shopeetech_powered-by {
    margin: 5px 0 10px 0;
    display: flex;
    gap: 10px;
    align-items: center;
}

#shopeetech_powered-by.powered-by-modal {
    margin-top: 10px;
    margin-bottom: 0px;
}

#shopeetech_powered-by.center {
    justify-content: center;
}

#shopeetech_powered-by .shopeetech_powered-by-text {
    color: #000;
    margin: 0px;
    font-size: 13px;
}

#shopeetech_powered-by .shopeetech_powered-by-img {
    border-radius: 5px;
}

#shopeetech_powered-by.shopeetech_powered-by-hidden {
    display: none !important;
}

.bis-sa-floating-middle-right {
    position: fixed;
    top: 50%;
    right: 0px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.3s ease;
    width: 40px;
    writing-mode: vertical-rl;
    padding: 10px;
    border-radius: var(--bis-sa-btn-border-radius);
    pointer-events: auto;
    cursor: pointer;
    box-sizing: border-box;
    margin: 0;
    /* transform: translateY(-50%); */
  }


  button[is='bis-sales-alert-button']:hover {
    transform: scale(1.1);
  }

  .bis-sa-floating-middle-left {
    position: fixed;
    top: 50%;
    left: 0px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.3s ease;
    width: 40px;
    writing-mode: vertical-rl;
    padding: 10px;
    border-radius: var(--bis-sa-btn-border-radius);
    pointer-events: auto;
    cursor: pointer;
    box-sizing: border-box;
    margin: 0;
    /* transform: translateY(-50%); */
  }

  .bis-sa-floating-bottom-right {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: var(--bis-sa-btn-wh);
    height: var(--bis-sa-btn-wh);
    border-radius: 50%;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
    z-index: 99999;
    pointer-events: auto;
    box-sizing: border-box;
    margin: 0;
  }

  .bis-sa-floating-bottom-left {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: var(--bis-sa-btn-wh);
    height: var(--bis-sa-btn-wh);
    border-radius: 50%;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
    z-index: 99999;
    pointer-events: auto;
    box-sizing: border-box;
    margin: 0;
  }