/* Stylizacja głównego kontenera */
#popUpContainer {
    max-width: 100%; /* Zmniejszenie szerokości kontenera */
    margin: 0 auto; /* Wyśrodkowanie kontenera bez marginesów */
    padding: 2rem; /* Odsunięcie zawartości od krawędzi */
    border: 1px solid #dcdcdc; /* Subtelna ramka */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Lekkie cienie */
    border-radius: 8px;
    background-color: #fff;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    text-align: justify;
}

/* Tytuł polityki prywatności */
.policy-title {
    text-align: center;
    font-size: 2rem;
    color: #1d3557;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007acc;
}

/* Sekcje treści */
.policy-content h2, .policy-content h3 {
    font-size: 1.5rem;
    color: #1d3557;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #007acc;
    padding-bottom: 0.3rem;
}

.policy-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin: 0.8rem 0;
}

/* Stylizacja list */
.policy-content ul {
    list-style-type: disc;
    margin-left: 2rem;
}

.policy-content li {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin: 0.5rem 0;
}

/* Stylizacja linków */
.policy-content a {
    color: #007acc;
    text-decoration: underline;
    font-weight: bold;
}

.policy-content a:hover {
    color: #005fa3;
    text-decoration: none;
}

/* Responsywność dla tabletów i mniejszych ekranów */
@media (max-width: 768px) {
    #popUpContainer {
        padding: 1.5rem;
        margin: 0 10px;
    }

    .policy-title {
        font-size: 1.8rem;
    }

    .policy-content h2, .policy-content h3 {
        font-size: 1.4rem;
    }

    .policy-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .policy-content ul {
        margin-left: 1.5rem;
    }
}

/* Responsywność dla telefonów komórkowych */
@media (max-width: 480px) {
    #popUpContainer {
        padding: 1rem;
        margin: 0 5px;
    }

    .policy-title {
        font-size: 1.5rem;
    }

    .policy-content h2, .policy-content h3 {
        font-size: 1.3rem;
    }

    .policy-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}
