/* Public Styles for Popup Templates Pro */
.popup-template {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-template.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    position: relative;
    background: white;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.popup-template.active .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    z-index: 100000;
}

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

.popup-form {
    margin-top: 20px;
}

.popup-form input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 16px;
}

.popup-form button {
    width: 100%;
    padding: 12px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.popup-form button:hover {
    background: #005a87;
}

.progress-bar {
    width: 100%;
    background: #eee;
    border-radius: 4px;
    height: 20px;
    margin: 15px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #46b450;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    font-weight: bold;
    margin: 10px 0;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.features-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.check-icon {
    color: #46b450;
    font-weight: bold;
    margin-right: 8px;
}

.testimonial p {
    font-style: italic;
    margin: 0 0 10px 0;
}

.testimonial cite {
    font-weight: bold;
    color: #666;
}

@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        padding: 20px;
    }
}