/* Screen User Login – projektspezifisches Layout (Host-Twig gemäß briefing/screens/user-login/UserLogin.md) */
.screen-user-login-section {
    max-width: 100%;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
}

.screen-user-login-container {
    box-sizing: border-box;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.screen-user-login-info-text {
    color: var(--color-text-secondary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-normal);
}

@media (min-width: 576px) {
    .screen-user-login-section {
        padding-left: 0;
        padding-right: 0;
    }

    .screen-user-login-container {
        max-width: 52rem;
    }
}

/* Änderungsprotokoll: 2026-06-02 | codex-5.3 | @skill-css-rules | Passwort-Input und Toggle in einer Zeile ohne Überlappung */
.screen-user-login-container .base-form-password-control {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
}

.screen-user-login-container .base-form-password-control > div {
    flex: 1 1 auto;
    min-width: 0;
}

/* Änderungsprotokoll: 2026-06-02 | codex-5.3 | @skill-css-rules | Passwort-Regelhinweise im Login ausblenden */
.screen-user-login-container .base-form-password-control .word-wrapper,
.screen-user-login-container .base-form-password-control .word-requirement,
.screen-user-login-container .base-form-password-control .base-form-password-requirement {
    display: none !important;
}

.screen-user-login-container .base-form-password-control .base-form-input,
.screen-user-login-container .base-form-password-control .base-form-input-error {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}

.screen-user-login-container .base-form-password-control .base-form-password-toggle {
    flex: 0 0 auto;
    min-width: 2.9375rem;
    width: 2.9375rem;
    height: 2.9375rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    align-self: center;
    font-size: 0;
    line-height: 1;
}

.screen-user-login-container .base-form-password-control .base-form-password-toggle::before {
    content: "";
    width: 1.25rem;
    height: 1.25rem;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 5c5.5 0 9.7 3.7 11 7-1.3 3.3-5.5 7-11 7S2.3 15.3 1 12c1.3-3.3 5.5-7 11-7Zm0 2c-4.3 0-7.7 2.6-9 5 1.3 2.4 4.7 5 9 5s7.7-2.6 9-5c-1.3-2.4-4.7-5-9-5Zm0 2.5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 5c5.5 0 9.7 3.7 11 7-1.3 3.3-5.5 7-11 7S2.3 15.3 1 12c1.3-3.3 5.5-7 11-7Zm0 2c-4.3 0-7.7 2.6-9 5 1.3 2.4 4.7 5 9 5s7.7-2.6 9-5c-1.3-2.4-4.7-5-9-5Zm0 2.5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.screen-user-login-container .base-form-password-control .base-form-password-toggle:not(#user-login-password-toggle) {
    display: none;
}
