.cta-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.cta-popup-modal {
    position: relative;
    max-width: 420px;
    width: 90%;
    /*background: linear-gradient(135deg, #d4edda 0%, #f8f9fa 100%);*/
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: cta-popup-fade-in 0.3s ease-out;
    border: 3px solid #2e2e2e;
    overflow: hidden;
}
.cta-popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #c8c7c757;
    border: none;
    font-size: 14px;
    cursor: pointer;
    color: white;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.cta-popup-close:hover {
    background: rgba(198, 197, 197, 0.903);
    transform: scale(1.1);
}

.cta-popup-header {
    /*background: linear-gradient(135deg, #28a745, #20c997);*/
    color: white;
    padding: 25px 20px 5px;
    text-align: center;
    position: relative;
}
/*
.cta-popup-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #20c997;
}
*/
.cta-popup-title {
    margin: 0 auto;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    border: 1px solid rgb(232 62 48);
    width: fit-content;
    padding: .5em 1em;
    color: white;
    background: rgb(232 62 48);
    border-radius: 4px;
}

.cta-popup-subtitle {
    margin: 12px auto;
    margin-bottom: 0;
    font-size: 32px;
    font-weight: 600;
    opacity: 0.9;
    color: black
}

.cta-popup-content {
    padding: 5px 25px 25px;
    text-align: center;
}

.cta-popup-main-text {
    font-size: 28px;
    font-weight: 700;
    color: rgb(22 139 0);
    margin: 0 0 25px 0;
    line-height: 1.3;
}

span.check-icon {
    display: inline-block;
    position: relative;
}
span.check-icon::before{
    content: '✓';
    position: absolute;
    left: -18px;
    top: 0;
    width: 15px;
    height: 15px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

.cta-popup-form {
    margin-bottom: 20px;
    display:flex;
    gap: 5px;
}

.cta-popup-input {
    width: 100%;
    padding: 12px;
    border: 1px solid gray;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    text-align: center;
}

.cta-popup-input:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.cta-popup-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #fa6200, #eb5b50);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-popup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
    background: linear-gradient(135deg, #e23636, #de4f4f);
}

.cta-popup-disclaimer {
    font-size: 12px;
    color: #718096;
    text-align: center;
    line-height: 1.4;
    margin: 0;
    padding: 0 10px;
}
.cta-popup-advertisement {
    font-size: 12px;
    color: #6c757d;
    text-align: center;
    line-height: 1.4;
    margin: 15px 0 0 0;
    padding: 0 10px;
    font-weight: 600;
    font-style: italic;
}

/* Floating Icon Styles */
.cta-floating-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
    border: 3px solid white;
}

.cta-floating-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(40, 167, 69, 0.4);
}

.cta-icon-inner {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-icon-inner svg {
    width: 24px;
    height: 24px;
}

/* Pulsating Effect */
.cta-icon-pulse {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid #28a745;
    border-radius: 50%;
    animation: cta-pulse 2s infinite;
    opacity: 0.6;
}

.cta-icon-pulse:nth-child(2) {
    animation-delay: 0.7s;
}

.cta-icon-pulse:nth-child(3) {
    animation-delay: 1.4s;
}

@keyframes cta-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.4);
        opacity: 0;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Animation for modal */
@keyframes cta-popup-fade-in {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .cta-popup-modal {
        margin: 20px;
        max-width: 380px;
    }
    /*
    .cta-popup-header {
        padding: 20px 15px 15px;
    }
    
    .cta-popup-title {
        font-size: 20px;
    }
    
    .cta-popup-subtitle {
        font-size: 14px;
    }
    
    .cta-popup-content {
        padding: 25px 20px 20px;
    }
    
    .cta-popup-main-text {
        font-size: 18px;
    }
    */
    .cta-floating-icon {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .cta-icon-inner svg {
        width: 20px;
        height: 20px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .cta-icon-pulse {
        animation: none;
        display: none;
    }
    
    .cta-floating-icon,
    .cta-popup-close,
    .cta-popup-button {
        transition: none;
    }
    
    @keyframes cta-popup-fade-in {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
}
/* Error shake animation */
@keyframes error-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.error-shake {
    animation: error-shake 0.5s ease-in-out;
    border-color: #e83345e0 !important;
}