/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jun 05 2025 | 19:40:55 */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 120px 20px 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.popup-overlay.active {
    display: block;
    opacity: 1;
}

.popup-container {
    position: relative;
    margin: 0 auto;
    transform: scale(0.8);
    background: #f4f0ef;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    width: 100%;
    min-height: auto;
    transition: transform 0.3s ease;
}

.popup-overlay.active .popup-container {
    transform: scale(1);
}

.popup-header {
    position: relative;
    padding: 20px 30px;
    border-bottom: 1px solid #e0ddd8;
    background: #f4f0ef;
    border-radius: 8px 8px 0 0;
}

.popup-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

.popup-content {
    padding: 30px;
    background: #f4f0ef;
    border-radius: 0 0 8px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.popup-content > * {
    width: 100%;
    max-width: 600px;
}

.popup-content .wpcf7-form,
.popup-content form {
    margin: 0;
    text-align: left;
}

.popup-content .wpcf7-form p,
.popup-content form p {
    margin-bottom: 15px;
}

.popup-content .wpcf7-form-control,
.popup-content input,
.popup-content textarea,
.popup-content select {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    border: 1px solid #d0ccc7;
    border-radius: 4px;
    background: white;
    font-size: 14px;
    box-sizing: border-box;
}

.popup-content .wpcf7-submit,
.popup-content input[type="submit"] {
    background: #007cba;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
    width: auto;
    display: block;
    margin: 20px auto 0;
}

.popup-content .wpcf7-submit:hover,
.popup-content input[type="submit"]:hover {
    background: #005a87;
}

.loading {
    text-align: center;
    color: #666;
    font-style: italic;
}

@media (max-width: 768px) {
    .popup-overlay {
        padding: 100px 15px 15px;
    }

    .popup-container {
        width: 100%;
    }

    .popup-header {
        padding: 15px 20px;
    }

    .popup-title {
        font-size: 20px;
        padding-right: 40px;
    }

    .popup-content {
        padding: 20px;
        min-height: 150px;
    }

    .popup-close {
        top: 12px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .popup-overlay {
        padding: 80px 10px 10px;
    }

    .popup-container {
        width: 100%;
    }

    .popup-header {
        padding: 12px 15px;
    }

    .popup-content {
        padding: 15px;
    }

    .popup-title {
        font-size: 18px;
    }

    .popup-content > * {
        max-width: 100%;
    }
}

@media (max-height: 600px) {
    .popup-overlay {
        padding: 60px 20px 20px;
    }
    
    .popup-content {
        min-height: 100px;
        padding: 20px;
    }
}

body.popup-open {
    overflow: hidden;
}