/**
 * 2024 DMConcept
 *
 * NOTICE OF LICENSE
 *
 * This file is licenced under the Software License Agreement.
 * With the purchase or the installation of the software in your application
 * you accept the licence agreement
 *
 * @author    DMConcept <support@dmconcept.fr>
 * @copyright 2024 DMConcept
 * @license   Commercial license (You can not resell or redistribute this software.)
 *
 */

#configurator {
    background-color: unset;
}

#configurator-loader-container {
    overflow-x: hidden;
}

#configurator-loader-wrapper {
    height: 300px;
    width: 100%;
    display: grid;
    place-items: center;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 2px 2px 10px 0 #bfc6cc;
    margin-block-end: 20px;
    padding: 0 0 10px;
}

#configurator-loader-inside-wrapper {
    color: #566ffb;
    font-size: 1.3rem;
    line-height: 1.8rem;
    text-align: center;
}

#configurator-loader {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-block;
    border-top: 5px solid #222542;
    border-right: 5px solid transparent;
    box-sizing: border-box;
    animation: configurator-loader-rotation 1s linear infinite;
}

#configurator-loader::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border-left: 5px solid #566ffb;
    border-bottom: 5px solid transparent;
    animation: configurator-loader-rotation 0.5s linear infinite reverse;
}

@keyframes configurator-loader-rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#configurator.no-prices .cyup--cart__info__total,
#configurator.no-prices .cyup--displayPrice,
body:not(.update-cyup-cart) #configurator.no-prices .cyup--addCart__button:not(.add-to-quote) {
    display: none;
}

#configurator.no-prices .cyup--addCart__button.add-to-quote {
    margin-top: 0 !important;
}
