/**
* 2007-2022 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2022 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

:root {
    --main-color: #2B3692;
    --white: #fff;
}

#stripe_payment_button a {
    padding: 20px 50px 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#stripe_payment_button img {
    height: 60px;
    width: auto;
}

.stripe-box-container {
    position: relative;
}

.stripe-box-container img {
    height: 50px;
    width: auto;
    object-fit: contain;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.is-hidden {
    display: none !important;
}

.stripe-overlay {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    background-color: rgba(20, 20, 20, .5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lds-dual-ring {
    display: inline-block;
    width: 80px;
    height: 80px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid var(--main-color);
    border-color: var(--main-color) transparent var(--main-color) transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

.overpop.lds-dual-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
.overpop.lds-dual-ring:after  {
    border: 6px solid var(--main-color);
    border-color: var(--main-color) transparent var(--main-color) transparent;
}

.overpop.lds-dual-ring:before  {
    content: " ";
    position: absolute;
    top: -200px;
    bottom: -200px;
    left: -200px;
    right: -200px;
    background-color: rgba(20, 20, 20, .03);
    z-index: 1;
}

.payment-stripe-form {
    background-color: var(--white);
    border: 1px solid var(--white);
    border-color: var(--white);
    min-width: 350px;
    max-width: 500px;
    min-height: 300px;
    width: 100%;
    padding: 20px 30px 50px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}



.pay-stripe {
    background-color: var(--main-color);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.alert-toast {
    padding:1.275rem 1.55rem;
    box-sizing:border-box;
    width:auto;
    border:1px solid #e5e5e5;
    border-radius:4px;
    background-color:#ffffff;
    box-shadow:0.125rem 0.125rem 0.625rem 0 rgba(0,0,0,0.2);
    position:fixed;
    right:1.25rem;
    z-index:9999;
    top:4.375rem;
    transition:0.2s ease-out;
    transform:translateY(-10px);
    pointer-events:none;
    opacity:0;
}

.alert-toast.success{
    background-color:#69b92d;
    border-color:#69b92d
}

.alert-toast.success .alert-toast-text{
    color:white
}

.alert-toast.error{
    background-color:#b9312d;
    border-color:#b9312d
}

.alert-toast.error .alert-toast-text{
    color:white
}

.alert-toast.isActive{
    transform:translateY(0);
    pointer-events:all;
    opacity:1
}

.alert-toast-text{
    color:#232323;
    font-size:1.275rem;
    letter-spacing:0;
    line-height:1.1875rem;
    margin-bottom:0;
}


@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


.marketplaceorder-payment {
    max-width: 100%;
    width: 350px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.marketplaceorder-payment .amount p{
    text-align: center;
    color: #000;
}

.marketplaceorder-payment .form
{
    margin-bottom: 10px;
}

.marketplaceorder-payment .btn-action
{
    align-self: center;
}