/* CSS Styles for the In-Place Checkout Dialog */
#strabl-checkout-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.strabl-checkout-dialog-popup {
    background: #fff;
    border-radius: 20px;
    width: 70vw;
    height: 80vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: slideUpFadeIn 0.7s ease-in-out;
}
#strabl-checkout-dialog-iframe {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    z-index: 2;
}
.strabl-checkout-dialog-footer {
    padding: 8px 38px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 70vw;
    animation: slideUpFadeIn 0.7s ease-in-out;
}
.strabl-checkout-dialog-footer > div > a {
    color: #fafcfe;
    font-size: 12px;
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    margin: 0;
    font-family: sans-serif;
}
.white-strabl-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.black-strabl-logo {
    display: none;
}

@media (max-width: 1480px) {
    .strabl-checkout-dialog-popup {
        width: 80vw;
    }
    .strabl-checkout-dialog-footer {
        width: 80vw;
    }
}

@media (max-width: 1280px) {
    .strabl-checkout-dialog-popup {
        width: 88vw;
    }
    .strabl-checkout-dialog-footer {
        width: 88vw;
    }
}

@media (max-width: 1024px) {
    #strabl-checkout-dialog {
        background-color: #fff;
    }
    .strabl-checkout-dialog-popup {
        border-radius: 0px;
        width: 100vw;
        height: 100vh;
    }
    #strabl-checkout-dialog-iframe {
        border-radius: 0px;
    }
    .strabl-checkout-dialog-footer {
        display: none;
        padding: 8px 16px;
        width: 90vw;
        background-color: white;
    }
    .strabl-checkout-dialog-footer > div > a {
        color: black;
    }
    .white-strabl-logo {
        display: none;
    }
    .black-strabl-logo {
        display: flex;
        align-items: center;
        text-decoration: none;
    }
}

/* CSS for the animation */
@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateY(120px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}