.parent-container {
    position: relative; /* Ensures the loader is positioned relative to this container */
    display: inline-block;
}

.element-to-blur {
    filter: none; /* Initially no blur */
    transition: filter 0.3s ease; /* Smooth transition when applying blur */
    pointer-events: auto;
}

.control-c-loader-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 10;
    pointer-events: none; /* Ensure loader doesn't block user interactions */
}

/* Apply blur when the loader is visible */
.parent-container.loading .element-to-blur {
    filter: blur(5px); /* Adjust the amount of blur */
    pointer-events: none;
}

.control-c-loader {
    animation: rotate 1s infinite;
    height: 50px;
    width: 50px;
}

.control-c-loader:before,
.control-c-loader:after {
    border-radius: 50%;
    content: '';
    display: block;
    height: 20px;
    width: 20px;
}

.control-c-loader:before {
    animation: ball1 1s infinite;
    background-color: #cb2025;
    box-shadow: 30px 0 0 #f8b334;
    margin-bottom: 10px;
}

.control-c-loader:after {
    animation: ball2 1s infinite;
    background-color: #00a096;
    box-shadow: 30px 0 0 #97bf0d;
}

@keyframes rotate {
    0% {
        -webkit-transform: rotate(0deg) scale(0.8);
        -moz-transform: rotate(0deg) scale(0.8);
    }
    50% {
        -webkit-transform: rotate(360deg) scale(1.2);
        -moz-transform: rotate(360deg) scale(1.2);
    }
    100% {
        -webkit-transform: rotate(720deg) scale(0.8);
        -moz-transform: rotate(720deg) scale(0.8);
    }
}

@keyframes ball1 {
    0% {
        box-shadow: 30px 0 0 #f8b334;
    }
    50% {
        box-shadow: 0 0 0 #f8b334;
        margin-bottom: 0;
        -webkit-transform: translate(15px, 15px);
        -moz-transform: translate(15px, 15px);
    }
    100% {
        box-shadow: 30px 0 0 #f8b334;
        margin-bottom: 10px;
    }
}

@keyframes ball2 {
    0% {
        box-shadow: 30px 0 0 #97bf0d;
    }
    50% {
        box-shadow: 0 0 0 #97bf0d;
        margin-top: -20px;
        -webkit-transform: translate(15px, 15px);
        -moz-transform: translate(15px, 15px);
    }
    100% {
        box-shadow: 30px 0 0 #97bf0d;
        margin-top: 0;
    }
}

#switchMenu {
    width: calc(100% + 100px);
}


.controlc-paycard {
    background-image: url('/images/application/img-pay-card-bg.png');
}

.controlc-paycard-img {
    width: 64px;
    height: 64px;
}

.controlc-paycard-img-amex {
    height: 29px;
    width: 30px;
}


.controlc-auth-header {
    font-family: 'Trebuchet MS', Arial, sans-serif;
    font-size: clamp(3rem, 6vw, 8rem);
    font-weight: bold;
    color: #5c5a5a;
    margin: 0;
    line-height: 1;
}

.controlc-auth-sub-header {
    font-family: 'Trebuchet MS', Arial, sans-serif;
    font-size: clamp(1.25rem, 2vw, 2rem);
    font-weight: normal;
    color: #DA2B31;
    margin: 0;
    line-height: 1;
}

@supports (font-size: clamp(40px, 2.5vw + 12px, 64px)) {
    .controlc-auth-header {
        font-size: clamp(40px, 2.5vw + 12px, 64px);
    }
}

.controlc-trademark {
    height: 40px;
    width: 190px;
}
