/* assets/css/popup.css */

#acs-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#acs-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

#acs-popup-container {
    background: linear-gradient(135deg, #277700 0%, #1a5200 100%);
    border-radius: 20px;
    padding: 40px;
    max-width: 420px;
    width: 90%;
    position: relative;
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

#acs-popup-overlay.active #acs-popup-container {
    transform: scale(1) translateY(0);
}

#acs-popup-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#acs-popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

#acs-popup-content {
    text-align: center;
    color: white;
}

.acs-popup-icon {
    margin-bottom: 20px;
}

.acs-popup-icon svg {
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

#acs-popup-content h3 {
    font-size: 24px;
    margin: 0 0 15px;
    font-weight: 700;
}

#acs-popup-content p {
    font-size: 15px;
    margin: 0 0 25px;
    opacity: 0.9;
    line-height: 1.7;
}

.acs-input-group {
    position: relative;
    margin-bottom: 20px;
}

#acs-phone-input {
    width: 100%;
    padding: 18px 20px 18px 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-align: center;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

#acs-phone-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#acs-phone-input:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
}

.acs-input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

#acs-submit-btn {
    width: 100%;
    padding: 18px;
    background: white;
    color: #277700;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#acs-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(39, 119, 0, 0.3);
}

#acs-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.acs-privacy-note {
    font-size: 12px !important;
    opacity: 0.7 !important;
    margin-top: 15px !important;
}

/* Success State */
#acs-popup-success {
    text-align: center;
    color: white;
}

.acs-success-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: pop 0.5s ease;
}

@keyframes pop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

#acs-popup-success h3 {
    font-size: 24px;
    margin: 0 0 10px;
}

#acs-popup-success p {
    margin: 0 0 25px;
    opacity: 0.9;
}

#acs-continue-btn {
    padding: 15px 40px;
    background: white;
    color: #277700;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

#acs-continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(39, 119, 0, 0.3);
}

/* Responsive */
@media (max-width: 480px) {
    #acs-popup-container {
        padding: 30px 20px;
        margin: 15px;
    }
    
    #acs-popup-content h3 {
        font-size: 20px;
    }
    
    #acs-phone-input {
        font-size: 16px;
        padding: 15px;
    }
}