body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    position: relative;
}

.login-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    text-align: center;
}

h2 {
    margin-bottom: 35px;
}

.error-message {
    color: #d32f2f;
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    text-align: left;
}

input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.otp-input {
    font-size: 1.4rem;
    font-family:'Roboto Mono',monospace;
    letter-spacing: 1.5ch;
    text-align: center;
}

input:focus {
    outline: none;
    border-color: #9E182E;
    box-shadow: 0 0 0 1px rgba(158,24,46,0.15);
}

.label {
    line-height: 0.3;
}

.password-wrapper {
    position: relative;
}

.toggle-pass {
    position: absolute;
    right: 10px;
    top: 33%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
    color: #777;
}

.toggle-pass img {
    height: 14px;
    vertical-align: middle;
}

/* Button-Basis kommt aus components.css; Login ergänzt nur die vertikale Formularstaffelung. */
.login-container .btn-full {
    margin-bottom: 10px;
}

.login-container form .btn-full:last-child {
    margin-bottom: 0;
}


.info {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    width: 300px;
    padding: 0.75rem 1.25rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.4;
    color: #666666;
    margin: 0;
    z-index: 5;
}

.info .entity-name {
    font-weight: 600;
}

.info a {
    color: inherit;
    text-decoration: none;
}

.info a:hover,
.info a:focus {
    text-decoration: underline;
}


.dialog-overlay.reauth-overlay {
    z-index: 9999;
}

.reauth-dialog {
    border-top: 4px solid var(--error-color);
}

.dialog-actions.reauth-actions {
    justify-content: space-between;
}

.reauth-passkey-btn {
    margin-right: auto;
}

.reauth-description {
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.9em;
    color: #666;
}

.reauth-user-box {
    text-align: center;
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

