.register {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.register__heading{
    margin-bottom: 30px;
}

.register__label{
    position: relative;
    margin-bottom: 10px;
    user-select: none;
}

.register__password-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    height: 24px;
    top: 50%;
    right: 24px;

    transform: translateY(-50%);
}

.register__input {
    margin-bottom: 10px;
    width: 100%; /* Адаптивы */
}

.register__label .register__input {
    margin-bottom: 0;
}

.register__input-message {
    font-family: "Nunito Sans";
    font-size: 1.4rem;
    font-weight: 100;
    font-style: italic;

    color: var(--text-color);
    margin-bottom: 16px;
    line-height: 110%;
}

.register__login-text {
    margin-bottom: 35px;
}

/*@media (max-width: 743px) {
    .register__login-text {
        margin-bottom: 32px;
    }
}*/

/* Адаптивы */
@media (max-width: 743px) {
    .register__login-text {
        margin-bottom: 15px;
        font-size: 2rem;
    }

    .register__input-message {
        font-size: 1.8rem;
    }

    .register__input {
        max-width: 100%;
        font-size: 2rem;
    }
}

@media screen and (max-width: 376px) {
    .register__heading{
        margin-bottom: calc(var(--vh) * 4);
    }
}

.captcha-container {
    display: flex;
    flex-direction: row;  /* Располагаем элементы в строку */
    align-items: center;  /* Выравниваем по вертикали */
    gap: 8px;
    margin-bottom: 16px;
    height: 35px;  /* Фиксированная высота контейнера */
}

.captcha-container .captcha {
    height: 100%;  /* Занимает всю доступную высоту */
    width: auto;   /* Сохраняет пропорции */
    border: 1px solid #ddd;
    border-radius: 4px;
    object-fit: contain;  /* Чтобы изображение полностью помещалось */
    background: #f9f9f9;
}

.captcha-container .text11 {
    display: flex;
    flex-grow: 1;  /* Занимает все доступное пространство */
    height: 100%;  /* Полная высота контейнера */
    gap: 8px;
}

.captcha-container input {
    height: 100%;  /* Полная высота */
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    flex-grow: 1;  /* Растягиваем на все доступное пространство */
    text-align: center;
}

.captcha-container .captcha-refresh {
    height: 100%;  /* Полная высота */
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;  /* Чтобы текст не переносился */
    transition: all 0.2s;
	background-color: var(--pink);
	font-size: 1.4rem;
    font-weight: 500;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;       /* Используем flex для выравнивания */
    align-items: center;       /* Вертикальное выравнивание */
    justify-content: center;   /* Горизонтальное выравнивание */
}

.captcha-refresh span {
    white-space: nowrap;  /* Чтобы текст не переносился */
}

.captcha-refresh:hover {
    background-color: #f5f5f5;
	color: var(--pink);
}

