﻿/* Body komplett kontrollieren */
body.login-body {
    margin: 0;
    min-height: 100vh;
    background: #f7f7f8;
}

/* Seitenlayout  exakt zentrieren */
.login-page {
    position: fixed;
    inset: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f8;
}

/* Card */
.login-card {
    background: #ffffff;
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Titel */
.login-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 32px;
}

/* Inputs */
.form-group {
    margin-bottom: 20px;
}

.login-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: 12px;
    border: 1px solid #d0d7de;
    background: #fff;
}

    .login-input:focus {
        outline: none;
        border-color: #10a37f;
        box-shadow: 0 0 0 3px rgba(16,163,127,0.15);
    }

/* Button */
.login-btn {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    background: #10a37f;
    border: none;
    border-radius: 999px; /* rund */
    cursor: pointer;
    transition: background 0.2s ease;
}

    .login-btn:hover {
        background: #0e8f6e;
        color: #fff;
    }

.guest-btn {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    background: #7f8f81;
    border: none;
    border-radius: 999px; /* rund */
    cursor: pointer;
    transition: background 0.2s ease;
}

    .guest-btn:hover {
        background: #6e7d6f;
        color: #fff;
    }

login-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.4;
}


/* Validation */
.text-danger {
    text-align: center;
    margin-bottom: 16px;
}

/* Shake bei Login-Fehler */
.login-card.shake {
    animation: shake 0.35s;
}

login-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.login-footer a {
    color: #10a37f;
    text-decoration: none;
}

    .login-footer a:hover {
        text-decoration: underline;
    }

@keyframes shake {
    0% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% {transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
    100% { transform: translateX(0); }
}


.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.1rem;
    opacity: 0.6;
}

    .toggle-password:hover {
        opacity: 1;
    }

