body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-image: url('tlo_nag.png'); /* Tło */
    background-size: cover;
    background-position: top center; /* Ustawienie pozycji tła */
    background-repeat: no-repeat;
    background-attachment: fixed; /* Efekt przyczepionego tła */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Wyrównanie kontenera do góry */
}
.kapcza{
	width: 304px;
        margin: 0 auto; /* Wyśrodkowanie */
}
.container {
    margin-top: 475px; /* Odsunięcie od góry dla wersji stacjonarnej */
    width: 80%;
    max-width: 1200px; /* Maksymalna szerokość kontenera */
    flex-direction: column; /* Ustawienie kierunku kolumnowego */
    background: rgba(255, 255, 255, 0.8); /* Lekka przezroczystość dla tła formularza */
    border-radius: 10px;
    align-items: center; /* Wyśrodkowanie zawartości */
}

table {
    width: 100%; /* Tabela szeroka */
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 20px; /* Odstęp między tabelą a formularzem */
    max-width: 97%; /* Zapobiega przewijaniu */
}

th,
td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #0071b7; /*f2f2f2;*/
}

form {
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.8); /* Lekka przezroczystość dla tła formularza */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 97%; /* Formularz ma 100% szerokości */
    text-align: center;
}


fieldset {
    border: none; /* Usunięcie obramowania fieldset */
}

legend {
    font-weight: bold;
    margin-bottom: 10px; /* Odstęp dolny */
}

label {
    display: block;
    margin: 10px 0 5px; /* Odstęp od góry i dołu */
}

input[type="text"],
input[type="email"],
input[type="number"],
select {
    width: 100%; /* Ustawienie szerokości na 100% dla pól formularza */
    padding: 10px;
    margin-bottom: 10px; /* Odstęp dolny */
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="submit"],
input[type="reset"] {
    padding: 10px 15px;
    margin-right: 10px; /* Odstęp między przyciskami */
    border: none;
    border-radius: 4px;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
}

input[type="reset"] {
    background-color: #f44336; /* Czerwony przycisk resetu */
}

input[type="submit"]:hover,
input[type="reset"]:hover {
    opacity: 0.8; /* Lekka zmiana przezroczystości na hover */
}

.spanbold {
    font-weight:bold;
    display: inline;
}

.error {
    color: red; /* Kolor błędu */
    font-size: 0.9em; /* Rozmiar czcionki błędu */
}


@keyframes colorBlink {
    0%, 100% { color: red; }
    25%,75% {color: green;}
    50% { color: transparent; }
}

.color-blink {
    animation: colorBlink 2s infinite;
    font-weight: bold;
    font-size: 4em;
    display: inline;
    color: red;
}
.custom-underline {
    border-bottom: 3px solid red; /* Grubość i kolor linii */
/*    padding-bottom: 1px;          /* Odstęp między tekstem a linią */
}
 /* Kontener dla mapy */
        .map-container {
            width: 100%;          /* Zajmuje pełną szerokość rodzica */
            max-width: 800px;     /* Maksymalna szerokość na większych ekranach */
            margin: 0 auto;       /* Wyśrodkowanie na większych ekranach */
            position: relative;
            padding-bottom: 56.25%; /* Proporcje 16:9 */
            height: 0;
            overflow: hidden;
        }

        /* Styl dla iframe mapy */
        .map-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
        }

@media (max-width: 768px) {
    .container {
        margin-top: 200px; /* Odsunięcie od góry dla wersji mobilnej */
        width: 100%; /* Szerokość kontenera na urządzenia mobilne */
    }
    .map-container {
                padding-bottom: 75%; /* Proporcje bardziej kwadratowe na telefonach */
            }

    table {
        width: 100%; /* Tabela ma 100% szerokości w wersji mobilnej */
        margin-top: 10px;
        margin: 0 auto; /* Wyśrodkowanie tabeli */
    }

    form {
        width: 90%; /* Formularz ma 100% szerokości w wersji mobilnej */
        margin: 0 auto; /* Wyśrodkowanie formularza */
    }


    input[type="text"],
    input[type="email"],
    input[type="number"],
    select {
        width: 100%; /* Szerokość pól formularza w wersji mobilnej */
    }
}

/* Tło jak masz, ale z delikatnym przygaszeniem */
.bg-cover {
    margin: 0;
    min-height: 100vh;
    background-image: url('tlo_nag.png');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Niewielki „frosted” efekt na kartach (opcjonalne) */
.card {
    backdrop-filter: saturate(120%) blur(2px);
}

/* ReCaptcha centrowana na wąskich ekranach */
.g-recaptcha {
    transform-origin: center;
}

/* Mały oddech ogólny w kontenerze już robi Bootstrap (py-5) */
