body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 20px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
}

fieldset {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #fafafa;
}

legend {
    font-weight: bold;
    color: #0056b3;
    padding: 0 10px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #444;
    font-weight: 600;
}

.required {
    color: #d9534f;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
}

input:focus, textarea:focus {
    border-color: #0056b3;
    outline: none;
}

.hint {
    display: block;
    margin-top: 5px;
    color: #777;
    font-size: 12px;
}

button {
    width: 100%;
    background-color: #0056b3;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

button:hover {
    background-color: #004494;
}

#responseMessage {
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
}

/* Стили для кнопки возврата */
.back-home-btn {
    display: inline-flex;
    align-items: center;
    color: #0056b3;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
    transition: color 0.2s ease;
}

.back-home-btn .arrow {
    font-size: 18px;
    margin-right: 6px;
    line-height: 1;
}

.back-home-btn:hover {
    color: #003d82;
    text-decoration: underline;
}