body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;    
    overflow: visible;
}

.contact-item {
    justify-content: center;
}

h1 {
    text-align: center;
    color: #ffffff;
}

.error-input {
    border-color: #ff4d4f !important;
    background-color: rgba(255, 77, 79, 0.1) !important;
}

.error-message {
    color: #ff4d4f;
    font-size: 0.9rem;
    margin-top: 5px;
    line-height: 1.4;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.35s ease;
}

.error-link {
    color: #ff4d4f;
    font-weight: 500;
}

.error-link:hover {
    color: #ff292c;
}

.error-message.show {
    max-height: 200px;
    opacity: 1;
}

.error-input {
    border-color: #d9534f !important;
    box-shadow: 0 0 6px rgba(217, 83, 79, 0.4);
}

.password-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.password-group {
    position: relative;
}

.forgot-link {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.eye-button {
    position: absolute;
    color: white;
    right: 20px;
    top: 42px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.45rem;
}

.password-requirements ul {
    list-style: none;
    padding-left: 15px;
    margin: 0;
}

.password-requirements li {
    position: relative;
    margin-bottom: 4px;
    transition: color 0.3s ease, opacity 0.3s ease;
}

/* Маленький кружок перед пунктом */
.password-requirements li::before {
    content: "•";
    position: absolute;
    left: 0;       /* теперь относительно li */
    top: 50%;      /* по центру по вертикали */
    transform: translateY(-50%);
    color: #ff4d4f;
}

.password-requirements li {
    position: relative;  /* чтобы ::before позиционировался относительно li */
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
    padding-left: 20px; /* чтобы кружок не накладывался на текст */
}

.password-requirements li.show {
    opacity: 1;
    max-height: 50px; /* достаточная высота */
}

a.cta-button {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    color: inherit;
}

p.password-reset {
    margin: 25px 0;
}

.contact-item.password-reset {
    margin-bottom: 15px;
}


/* ПРИМЕР АНИМАЦИИ МЕЖДУ ВХОДОМ/РЕГИСТРАЦИЕЙ 
.container.glass {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.5s ease;
}

.container.glass.loaded {
    opacity: 1;
    transform: translateX(0);
}

.container.glass.slide-out-left {
    opacity: 0;
    transform: translateX(-40px);
}

.container.glass.slide-out-right {
    opacity: 0;
    transform: translateX(40px);
}

.container.glass.animating {
    pointer-events: none;
}
*/