body {
    width: 100%;
    height: auto;
}

h2 {
    font-family: 'Roboto', Sans-Serif;
    font-weight: 500;
    font-size: 48px;
    line-height: 134%;

    color: var(--h-title);
}

h3 {
    font-family: 'Roboto', Sans-Serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 132%;
}

p, .p1 {
    font-family: 'Roboto', Sans-Serif;
    font-weight: 400;
    font-size: 20px; /* На этой странице 20px вместо 18px */
    line-height: 112%; /* На этой странице 112% вместо 21px */
}

.p1-strong {
    font-family: 'Roboto';
    font-weight: 500;
    font-size: 18px;
    line-height: 112%;

    color: var(--p-cyan);
}

.p-gray {
    color: var(--p-gray);
}

.p-cut {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hidden {
    display: none;
}

/* Стиль для ошибки инпута */
input.error {
    animation: inputError 2s ease-in;
}

/* Анимация ошибки */
@keyframes inputError {
    0% {
        border: 1px solid var(--border);
    }

    2% {
        border: 1px solid #F40B0B;
    }

    100% {
        border: 1px solid var(--border);
    }
}

small {
    font-family: 'Roboto', Sans-Serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 112%;
}

.password-length-hint {
    position: absolute;
    left: 0;
    top: calc(100% + 4px);
    z-index: 5;
    max-width: 250px;
    padding: 4px 8px;
    border: 1px solid rgba(189, 146, 206, 0.6);
    border-radius: 6px;
    background: #ffffff;
    color: var(--p-gray);
    line-height: 1.2;
    pointer-events: none;
}

.input-block_password-hint {
    position: relative;
    overflow: visible;
}

.input-block_password-hint .password-length-hint.hidden {
    display: none;
}

.input-block_password-hint .password-length-hint:not(.hidden) {
    display: inline-block;
}
