/* Модальное окно (фон) */
.modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex; /* но скрываем через display:none */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}


/* Контент модального окна */
.modal-content {
    background-color: white;
    padding: 30px 40px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    text-align: center;
    position: relative;
}

/* Кнопка закрытия */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #1c2b39;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #005b99;
}

/* Заголовок */
.modal-content h3 {
    margin-bottom: 20px;
    font-weight: 700;
    color: #003d66;
}

/* Форма */
#consultationForm label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1c2b39;
    text-align: left;
}

#consultationForm input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

#consultationForm input[type="tel"]:focus {
    border-color: #005b99;
    outline: none;
}

/* Кнопка отправки */
#consultationForm button.btn-orange {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background-color: #ff7a00;
    color: white;
    transition: background-color 0.3s ease;
}

#consultationForm button.btn-orange:hover {
    background-color: #e26900;
}


