body {
    font-family: Arial, sans-serif;
    text-align: center;
}

#map {
    height: 800px;
    width: 80%;
    margin: 20px auto;
    border: 2px solid #ccc;
    border-radius: 10px;
}

/* ✅ Egységes inputmező és gomb megjelenés */
input, button {
    padding: 10px;
    margin: 10px;
    font-size: 16px;
    border-radius: 10px;
    font-family: inherit;
}

/* 🔸 Színes, jól olvasható input mezők */
input[type="text"], input[type="date"] {
    font-size: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: rgb(249, 239, 107);
    color: black;
    font-weight: bold;
    text-align: center;
    width: 200px;
}

/* 🔸 Placeholder formázás */
input::placeholder {
    color: black;
    font-weight: bold;
    opacity: 0.5;
}

/* ✅ Gombstílus – modern */
button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

/* ✅ Rádiógomb szekció – egységes stílus */
.radio-group {
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    padding: 12px 18px;
    border-radius: 10px;
    margin: 10px auto;
    max-width: 600px;
    text-align: left;
}

.radio-group legend {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 16px;
}

.radio-group label {
    display: block;
    margin: 6px 0;
    font-size: 15px;
    cursor: pointer;
}

/* Táblázatok */
table {
    width: 80%;
    margin: 20px auto;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

th {
    background-color: #f8f9fa;
}

/* Egyéb */
.hidden {
    display: none;
}

.alert-cell {
    background-color: red !important;
    color: white;
    font-weight: bold;
}

/* 🔽 Mobil reszponzivitás */
@media screen and (max-width: 768px) {
    body {
        padding: 0 10px;
    }

    #map {
        width: 100%;
        height: 300px;
    }

    input[type="text"], input[type="date"], button {
        width: 100%;
        max-width: 100%;
        font-size: 18px;
    }

    table {
        width: 100%;
        font-size: 14px;
        display: block;
        overflow-x: auto;
    }

    th, td {
        padding: 8px;
        white-space: nowrap;
    }

    h1, h2, h3 {
        font-size: 1.2rem;
    }

    #searchedAddress {
        font-size: 0.9rem;
        text-align: center;
    }

    .radio-group {
        padding: 10px;
        font-size: 14px;
    }
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
    padding: 16px;
    align-items: center;
}

.form-section input[type="text"],
.form-section input[type="date"],
.form-section button {
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

.radio-group {
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    text-align: left;
}

.note-justified {
    font-size: 0.9rem;
    color: #555;
    margin-top: 8px;
    text-align: justify;
}
.note-justified {
    text-align: justify;
    font-size: 0.9rem;
    color: #555;
    margin-top: 8px;
}
