/* Общие стили */

* {
    box-sizing: border-box;
}

/* body {
  font-family: "Roboto", Pt-Sans, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f4f4f4;
} */

.container {
   background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 450px;
}

.feedback {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback__container {
    display: flex;
    gap: 20px;
}


/* Стили форм */
.form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
}

.form__field {
    width: 100%;
}

.zagolovok {
    text-align: center;
    font-size: 26px;
    line-height: 1.3;
    font-weight: 600;
    color: #2d2d2d;
  //  margin: 15px;
}

.podzagolovok {
   text-align: center;
   font-size: 15px;
   line-height: 1.3;
   color: #2d2d2d;
   margin-bottom: 10px;
}

.subzagolovok {
    text-align: center;
   // margin-top: 20px;
    font-size: 13px;
    line-height: 1.3;
    color: #4c4c4c;
}

.politic {
    font-size: 9px;
    line-height: 1.3;
    color: #808080; 
}  

.politic_link {
    font-size: 11px;
    color: #565656;
    transition: 0.3s;
}

.politic_link:hover {
    color: #363636;
    transition: 0.3s;
}

.form__input::placeholder {
    font-size: 15px;
    font-weight: 100;
}

.form__sizes {
    display: flex;
    gap: 10px;
}

.form__input {
    padding: 10px 15px;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-size: 16px;
    font-weight: 500;
    color: #2d2d2d;
}

.form__select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    background-color: #f9f9f9;
    color: #2d2d2d;
}

.size-input {
    width: 50%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    background-color: #f9f9f9;
    color: #2d2d2d;
}

.form__radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.form__radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    flex-direction: column;
}

.form__radio-label:hover {
    font-size: 25px
}

.form__radio-image {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* Оверлей */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s ease-in-out;
    z-index: 999;
}

.overlay--active {
    display: block;
}

/* Сообщение об ошибке */
.form__error {
    color: red;
    display: none;
    font-size: 14px;
}

.form__error--active {
    display: block;
}

/* Стили кнопки закрытия */
.popup__close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.popup__close:hover {
    color: #000;
    transition: color 0.3s;
}

/* Анимация для popup */
.popup {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup--active {
    opacity: 1;
}

/* Выбор способа связи - прячем радио кнопки */
.form__radio-label input {
    position: absolute;
    z-index: 10;
    cursor: pointer;
    opacity: 0;
}

/* Выбор способа связи - стиль текста */
.label {
    font-size: 14px!important;
    font-weight: 300!important;
    color: #a6a6a6!important;
    background-color: #fff!important;
    margin: 0px!important;
    padding: 0px!important;
}

/* Выбор способа связи - стиль текста при наведении */
.form__radio-label input:checked + .label {
    color: #3a3a3a!important;
    transition: 0.3s ease!important;
}

/* Выбор способа связи - делаем видимым при выборе */
.form__radio-label input:checked + .label:after {
    opacity: 1
}

/* Выбор способа связи - сама видимая часть */
.form__radio-label .label:after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #3496da;
    margin-top: 4px;
    opacity: 0;
    transition: .3s;
}

.filetext {
    font-size: 12px;
    color: #535353;
    margin-top: 10px;
    margin-bottom: 5px;
}

.fileblock {
    margin-bottom: 10px;
}

.form__field input[type="file"] {
    background-color: #f9f9f9;
    width: 100%;
    padding: 10px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Модальное окно с формой */
.modal {
    display: none; /* Изначально скрываем */
    position: fixed; /* Фиксированное позиционирование */
    z-index: 1; /*  Поверх всего */
    left: 0;
    top: 0;
    width: 100%; /* На всю ширину */
    height: 100%; /* На всю высоту */
    overflow: auto; /* Прокрутка, если контент не помещается */
    background-color: rgba(0, 0, 0, 0.4); /* Полупрозрачный фон */
    
    /* Flexbox для центрирования */
  /*  display: flex; */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* Центрирование по вертикали и горизонтали */
    padding: 20px;
    border: 1px solid #888;
    width: 90%; /* Ширина контента */
    max-width: 450px; /* Максимальная ширина */
    border-radius: 10px; /* Скругляем углы */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); /* Тень */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Ошибка номера телефона */  
.error {
  color: red;
  font-size: 14px;
  margin-top: 5px;
}


/* Общие стили */
.feedback {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback__container {
    display: flex;
    gap: 20px;
}


/* Стили попапа */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 10px;
    z-index: 1000;
    max-width: 500px;
    width: 90%;
}

.popup--active {
    display: block;
}

/* Стили форм */
.form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}



/* Оверлей */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.overlay--active {
    display: block;
}

/* Сообщение об ошибке */
.form__error {
    color: red;
    display: none;
    font-size: 14px;
}

.form__error--active {
    display: block;
}

/* Стили кнопки закрытия */
.popup__close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.popup__close:hover {
    color: #000;
}

/* Анимация для popup 
.popup {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup--active {
    opacity: 1;
}
*/



/* Стили для кнопок */
#openModalBtn1,
#openModalBtn5 {
    font-size: 14px;
    line-height: 1.3;
    background-color: #ffffff00;
    color: #3496da;
    border: none;
    cursor: pointer;
    margin: 0px;
    padding: 0px;
}

#openModalBtn1:hover, 
#openModalBtn5:hover {
    color: #0056b3;
    transition: .3s;
}

.feedback__button,
#openModalBtn2,
#openModalBtn3,
#openModalBtn4,
#openModalBtn6,
#openModalBtn7 {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    background-color: #3496da;
    color: white;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.feedback__button:hover,
#openModalBtn2:hover,
#openModalBtn3:hover,
#openModalBtn4:hover,
#openModalBtn6:hover,
#openModalBtn7:hover {
    background-color: #1f84cb;
}