/* Popup Styles */
.ami-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.ami-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.ami-popup-content {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ami-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ami-popup-close:hover {
    background: #e0e0e0;
    color: #333;
}

/* Thank You Popup */
.thankyou-popup-content {
    text-align: center;
}

.thankyou-popup-icon {
    width: 100px;
    height: 100px;
    background: #D0F45B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.thankyou-popup-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.thankyou-popup-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.thankyou-popup-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 30px 0;
}

.thankyou-popup-button {
    display: inline-block;
    padding: 14px 40px;
    background: #D0F45B;
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.thankyou-popup-button:hover {
    background: #bfd838;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(208, 244, 91, 0.4);
}

/* Give Beyond Popup */
.givebeyond-popup-content {
    max-width: 600px;
    text-align: center;
}

.givebeyond-popup-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 12px 0;
    line-height: 1.3;
    text-align: left;
}

.givebeyond-popup-subheading {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 30px 0;
    text-align: left;
}

.givebeyond-popup-form {
    min-height: 300px;
}

.givebeyond-popup-form iframe {
    width: 100%;
    min-height: 400px;
    border: none;
    border-radius: 12px;
}

/* Responsive */
@media (max-width: 600px) {
    .ami-popup-content {
        padding: 40px 25px;
        border-radius: 16px;
    }
    
    .thankyou-popup-icon {
        width: 80px;
        height: 80px;
    }
    
    .thankyou-popup-icon img {
        width: 40px;
        height: 40px;
    }
    
    .thankyou-popup-heading,
    .givebeyond-popup-heading {
        font-size: 24px;
    }
    
    .thankyou-popup-text,
    .givebeyond-popup-subheading {
        font-size: 14px;
    }
    
    .thankyou-popup-button {
        width: 100%;
        padding: 14px 30px;
    }
}

