Как увеличить длину input?
Как сделать input-ы подлиннее, не прибегая к фиксированной ширине? Где надо прибавить или убрать отступы? PS Окно всплывает при нажатии на Заказать звонок
Сайт ilyin1ib.beget.tech
.popup-bg {
position: fixed;
display: none;
width: 100%;
height: 100%;
top: 0;
left: 0;
bottom: 0;
right: 0;
background-color: rgba(0, 0, 0, 0.5);
z-index: 1000;
}
.popup-wrapper {
height: 100%;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.popup-content {
background-color: #ffff;
border-radius: 15px;
padding: 80px 160px;
text-align: center;
position: relative;
}
.request-popup form {
display: flex;
flex-direction: column;
width: 100%;
}
.close-popup {
background-color: transparent;
border: none;
font-size: 30px;
color: #C7C7C7;
cursor: pointer;
transition: 0.3s;
position: absolute;
top: 0;
right: 0;
}
.close-popup:hover {
color: #000;
}
.popup-header {
font-size: 28px;
font-weight: 400;
margin-bottom: 60px;
}
.popup-bg input {
display: block;
margin: 0 auto;
width: 100%;
border: none;
border-bottom: 1px solid #C7C7C7;
padding: 5px 0;
font-size: 20px;
margin-bottom: 60px;
}
input::placeholder {
color: #DFDFDF;
font-weight: 400;
font-size: 18px;
}
.submit {
display: block;
margin: 0 auto;
border: 1px solid transparent;
background-color: #070A0E;
color: #fff;
text-transform: uppercase;
padding: 20px 60px;
cursor: pointer;
margin-bottom: 40px;
transition: 0.3s ease;
transform: translateZ(0);
}
.submit:hover {
background-color: #fff;
color: #000;
transition: 0.3s ease;
border: 1px solid #000;
}
.popup-content span {
font-size: 10px;
font-weight: 300;
}
.no-scroll {
overflow-y: hidden;
}
<div class="request-popup popup-bg">
<div class="popup-wrapper">
<div class="popup-content">
<button class="close-popup">×</button>
<h4 class="popup-header">Заказать звонок</h4>
<form action="#" method="post">
<input type="text" name="user_name" id="name" required placeholder="Имя">
<input type="tel" name="user_phone" id="phone" required placeholder="Телефон">
<button class="submit" type="submit">Отправить</button>
<span>Наш констультанат свяжется с Вами в течении 15 минут</span>
</form>
</div>
</div>
</div>
