@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

body {
  font-family: 'Roboto', sans-serif;
  padding: 0;
  margin: 0;
}


.btnBack{
    margin: 20px;
    display: block;
}

.btnBack img{
    width: 32px;
    height: 32px;
}

/* Контейнер для поля */
.input-group {
    position: relative;
    margin-bottom: 20px;
    width: 250px; /* Задай нужную ширину */
}

/* Стили самого инпута */
.input-group input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 8px;
    outline: none;
    background: transparent;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    
}

/* Стили для метки (бывший placeholder) */
.input-group label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff; /* Цвет фона страницы, чтобы перекрывать рамку инпута */
    padding: 0 6px;
    color: #888;
    font-size: 16px;
    pointer-events: none; /* Чтобы клик пролетал сквозь label прямо в input */
    transition: 0.2s ease all;
}

/* Когда инпут В ФОКУСЕ или НЕ ПУСТОЙ — поднимаем label на верхнюю границу */
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label {
    top: 0;
    font-size: 12px;
    color: #007bff; /* Цвет метки при фокусе */
}

/* Изменение цвета рамки инпута при фокусе */
.input-group input:focus {
    border-color: #007bff;
}

h1{
    text-align: center;
    color: #002551;
    font-size: 32px;
}

.logg{
    display: flex;
    flex-direction: column; /* Элементы выстраиваются сверху вниз */
    align-items: center;
    width: 100%;
}

.logg button{
    background-color: #2465A5;
    color: white;
    border-radius: 10px;
    border: none;
    font-size: 32px;
    width: 250px;
    cursor: pointer;
    transition: all 0.2s;
}

.logg button:hover{
    background-color: #3279c0;
}