.elementor-15728 .elementor-element.elementor-element-2179369{--display:flex;overflow:visible;}.elementor-15728 .elementor-element.elementor-element-4d4fcd6.elementor-element{--align-self:center;}/* Start custom CSS for html, class: .elementor-element-4d4fcd6 *//* Nowoczesny i biznesowy CSS do ankiety */

body {
    font-family: 'Roboto', sans-serif;
    background: #ffffff;
    color: #2c3e50;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

form {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    max-width: 700px;
    padding: 30px;
    width: 100%;
    transition: box-shadow 0.3s, transform 0.3s;
}

form:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    transform: translateY(-8px);
}

fieldset {
    border: 1px solid #ddd;
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 0;
    position: relative;
}

.head_info {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 1.2em;
    line-height: 1.6;
    color: #2c3e50;
    
    margin: 0 auto;
    text-align: justify;
}

legend {
    font-size: 1.4em;
    font-weight: 600;
    color: #2c3e50;
    padding: 0;
    margin-bottom: 15px;
    position: relative;
    display: block;
    width: auto;
}

.form-group {
    margin-bottom: 20px;
}

input[type="radio"],
input[type="checkbox"] {
    margin-right: 12px;
    transform: scale(1.2);
}

label {
    font-size: 1.1em;
    line-height: 1.8;
    display: block;
    color: #2c3e50;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
}

label:hover {
    background-color: #f1f2f6;
    color: #E94C50;
}

input[type="radio"]:checked + label,
input[type="checkbox"]:checked + label {
    background-color: #E94C50;
    color: #ffffff;
}

input[type="text"],
input[type="text"]:focus {
    width: 80%;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 1em;
}

input[type="submit"] {
    background: linear-gradient(135deg, #E94C50, #d74246);
    color: #ffffff;
    font-size: 1.1em;
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

input[type="submit"]:hover {
    background: linear-gradient(135deg, #d74246, #E94C50);
    transform: scale(1.05);
}

@media (max-width: 600px) {
    body {
        padding: 15px;
    }
    form {
        padding: 20px;
    }
    legend {
        font-size: 1.2em;
    }
    input[type="submit"] {
        width: 100%;
    }
}

 /* Nowoczesny styl dla modalnego okna */
    .modal {
        position: fixed;
        z-index: 1000; /* Wyższy indeks, aby modal był nad innymi elementami */
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%); /* Ustawienie środka modalnego okna na środek ekranu */
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6); /* Przyciemnione tło */
        display: none; /* Ukrycie modalu, dopóki nie będzie potrzeby go pokazać */
    }

    .modal-content {
        background-color: #fff;
        border-radius: 10px; /* Zaokrąglone rogi */
        padding: 20px;
        width: 90%;
        max-width: 500px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); /* Delikatny cień */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #closeModal {
        color: #444;
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 24px;
        font-weight: bold;
        cursor: pointer;
        transition: color 0.3s ease;
    }

    #closeModal:hover,
    #closeModal:focus {
        color: #e74c3c; /* Zmiana koloru po najechaniu */
        text-decoration: none;
    }

    #modalMessage {
        font-size: 18px; /* Większa czcionka dla lepszej czytelności */
        margin-top: 40px;
        text-align: center;
    }

    /* Animacja dla zawartości modalnej */
    @keyframes slideIn {
        from { transform: translateY(-50px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }/* End custom CSS */