body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.form-group {
    position: relative;
}

label {
    margin-bottom: 5px;
    font-weight: bold;
}

input, select, textarea, button {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

button {
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 1em;
}

button:hover {
    background-color: #0056b3;
}

textarea {
    resize: vertical;
}

.form-check-group {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    background-color: #f9f9f9;
    margin-bottom: 10px;
}

.form-check-group h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.form-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.form-check-item input[type="radio"] {
    transform: scale(1.2);
}

#suggestions {
    border: 1px solid #ddd;
    max-height: 150px;
    overflow-y: auto;
    background-color: #fff;
    position: absolute;
    z-index: 1000;
    width: calc(100% - 2px); /* Zarovná so šírkou input poľa */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin-top: 2px;
    display: none;
    left: 0; /* Zarovná návrhy s input poľom */
}

#suggestions ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#suggestions li {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

#suggestions li:hover {
    background-color: #e6e6e6;
}

#suggestions li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    input, select, textarea, button {
        font-size: 0.9em;
    }
}

