/* ===== Registration page additions ===== */

/* Password input wrapper with eye toggle */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper .password-input {
    padding-right: 44px;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: opacity 0.15s;
}

.password-toggle:hover {
    opacity: 0.85;
}

.password-toggle__icon {
    width: 20px;
    height: 20px;
}

/* Password requirements list */
.password-requirements {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
}

.password-req {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--color-text-secondary);
    line-height: 1.3;
}

.password-req__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.password-req__icon--fail {
    filter: var(--icon-filter-danger);
}

.password-req__icon--pass {
    filter: var(--icon-filter-success);
}

/* "Already have an account?" / "New here?" row */
.register-link-row {
    text-align: center;
    margin-top: 18px;
    font-size: 13.5px;
    color: var(--color-text-muted);
}

.register-link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    margin-left: 4px;
}

.register-link:hover {
    text-decoration: underline;
}
