.login-container {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
    text-align: left;

    /* background-color: #f7f9fc;*/
    /*
    border: 0px solid #cfd8dc;
    border-radius: 6px;
    padding: 22px 28px;
    box-shadow: 0px 2px 6px rgb(0 0 0 / 0.43);
    box-sizing: border-box;
    */
}

.login-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-fields .input-group-icon {
    width: 230px;
}

/* WorldClient-Style Input Group mit Prefix-Icon */
.input-group-icon {
    display: inline-flex;
    align-items: stretch;
    height: 36px;
    background: #ffffff;
    border: 1px solid #b0bec5;
    border-radius: 3px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.input-group-icon:focus-within {
    border-color: #2b6cb0;
    box-shadow: 0 0 0 2px rgba(43, 108, 176, 0.2);
}

.input-group-icon .icon-addon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    background-color: #eceff1;
    border-right: 1px solid #cfd8dc;
    color: #546e7a;
    flex-shrink: 0;
}

.input-group-icon .icon-addon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.input-group-icon input {
    border: none;
    outline: none;
    padding: 4px 8px;
    font-size: 13px;
    font-family: verdana, sans-serif;
    color: #333333;
    background: transparent;
    width: 170px;
    box-sizing: border-box;
    flex: 1 1 auto;
    min-width: 0;
}

/* Passwort anzeigen/verbergen Button */
.btn-toggle-password {
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #78909c;
    transition: color 0.15s ease-in-out;
    flex-shrink: 0;
}

.btn-toggle-password:hover {
    color: #37474f;
}

.btn-toggle-password svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* 2FA Bereich */
.tfa-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
    width: 100%;
}

#login-message {
    min-height: 20px;
    line-height: 20px;
    font-weight: bold;
    color: #742a2a;
    font-size: 12px;
    text-align: center;
    margin-top: 2px;
    margin-bottom: 2px;
}

.tfa-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tfa-group .input-group-icon input {
    width: 95px;
    letter-spacing: 2px;
    font-weight: bold;
}

.btn-tfa-mail {
    height: 32px;
    background-color: #e2e8f0;
    border: 1px solid #cbd5e0;
    border-radius: 3px;
    color: #4a5568;
    padding: 0 10px;
    font-size: 11px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease-in-out;
    box-sizing: border-box;
    width: 175px;
}

.btn-tfa-mail:hover:not(:disabled) {
    background-color: #cbd5e0;
}

.btn-tfa-mail:disabled {
    background-color: #edf2f7;
    color: #a0aec0;
    cursor: not-allowed;
}

.remember-device {
    font-size: 12px;
    color: #555555;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.forgot-pw {
    font-size: 12px;
    margin-top: 2px;
}
