/*
Theme Name:     EG Developer
Theme URI:      n/a
Template:       kadence
Author:         lionteam.pl
Author URI:     http://lion-web.pl
Description:    Child Theme Description
Version:        1.0.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/

.fph-modal {
    display: none;
    position: fixed;
    z-index: 99999 !important; /* Wysoki z-index, aby modal był nad wszystkim */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Przyciemnienie tła strony */
}

/* Widoczny modal (klasa dodawana przez jQuery) */
.fph-modal.fph-modal-open {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Okienko z treścią w środku */
.fph-modal-content {
    background-color: #fff;
    color: #000000;
    padding: 30px;
    border-radius: 8px;
    max-width: 450px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fphFadeIn 0.3s ease;
}

/* Przycisk zamknięcia (X) */
.fph-modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}
.fph-modal-close:hover {
    color: #000;
}

/* Prosty efekt pojawiania się modala */
@keyframes fphFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
