/* Obecný styl formuláře */
.order-form {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Styl pro fieldset */
.order-form fieldset {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    background: #fff;
}

/* Styl pro legend */
.order-form legend {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    padding: 0 10px;
}

/* Mřížka formuláře */
.order-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Štítky */
.order-form label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #555;
}

/* Styl pro vstupy, selecty a textarea */
.order-form input, 
.order-form select, 
.order-form textarea {
    width: 100%;
    max-width: 100%; /* Oprava - zabrání přesahu */
    box-sizing: border-box; /* Oprava - zabrání přesahu kvůli paddingu */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    background: #fff;
    transition: border-color 0.3s ease-in-out;
}

/* Zvýšení velikosti písma v poli pro zprávu */
.order-form textarea {
    font-size: 1.3em; /* Zvětšené písmo */
    resize: vertical;
    min-height: 100px;
}

/* Efekt při zaostření */
.order-form input:focus, 
.order-form select:focus, 
.order-form textarea:focus {
    border-color: #007bff;
    outline: none;
}

/* Styl pro tlačítko */
.order-form button[type="submit"] {
    width: 100%;
    padding: 12px;
    font-size: 1.1em;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.order-form button[type="submit"]:hover {
    background: #0056b3;
}

/* Styl pro checkbox */
.order-form .container {
    display: flex;
    align-items: center;
    font-size: 0.95em;
    margin-top: 10px;
}

.order-form .container a {
    color: #007bff;
    text-decoration: none;
}

.order-form .container input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
}

/* Informace o povinných polích */
.order-form .contact-form__input-important {
    color: red;
    font-weight: bold;
}

/* Oznámení */
.order-form .oznameni {
    margin-top: 15px;
    font-size: 1em;
    font-weight: bold;
    color: green;
}

/* Zásady ochrany osobních údajů */
.order-form .disclaimer {
    font-size: 0.9em;
    color: #777;
    margin-top: 15px;
}

.order-form .disclaimer a {
    color: #007bff;
    text-decoration: none;
}

/* Responzivita pro menší obrazovky */
@media (max-width: 600px) {
    .order-form .form-grid {
        grid-template-columns: 1fr;
    }
}
