body {
    background: #75A843;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    /*height: 100vh;*/
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-wrapper {
    position: relative;
    width: 100%;
    max-width: 350px;
    min-height: 300px;
    padding: 1rem;
    perspective: 1000px;
    box-sizing: border-box;
}

.login-box {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: transform 0.6s ease;
    backface-visibility: hidden;
    z-index: 2;
}

.login-box.hidden {
    transform: rotateY(180deg);
    opacity: 0;
}

input, button {
    width: 100%;
    padding: 0.8rem;
    margin-top: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    box-sizing: border-box;
}

button {
    background: #8B2E5D;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #732448;
}

.loader {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    color: #fff;
    text-align: center;
}

.loader.active {
    display: flex;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #fff;
    border-top: 4px solid #8B2E5D;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-message {
    color: red;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .login-wrapper {
        max-width: 90%;
        padding: 1rem;
    }

    .login-box {
        padding: 1.5rem;
    }

    input, button {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .login-box {
        padding: 1rem;
        border-radius: 8px;
    }

    input, button {
        font-size: 0.9rem;
        padding: 0.7rem;
    }

    .spinner {
        width: 30px;
        height: 30px;
    }
}

.remember-row {
    display: flex;
    align-items: center;       /* zentriert vertikal */
    gap: 0.5rem;
    margin: 0.8rem 0;
    font-size: 0.95rem;
    color: #333;
}

.remember-row input[type="checkbox"] {
    accent-color: #8B2E5D;
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    display: block;
}

.remember-row label {
    line-height: 1;
    cursor: pointer;
    user-select: none;
    margin-bottom: 0rem !important;
}

@media (max-width: 480px) {
    .remember-row {
        font-size: 0.85rem;
        gap: 0.4rem;
    }

    .remember-row input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }
}

.versiontext {
    font-size: 11px;
    color: green;
}

.forgotpassword {
    float: right;
    font-size: 11px;
}

.loader {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: transform 0.6s ease;
    backface-visibility: hidden;
    z-index: 2;
    color: black;
}
.input-group {
    display: flex;
    flex-direction: column;
}

/* Wrapper mit Icon */
.input-icon {
    position: relative;
    width: 100%;
}

/* Das Eingabefeld */
.input-icon input {
    width: 100%;
    padding: 0.8rem 0.8rem 0.8rem 2.5rem; /* Platz für Icon */
    font-size: 1rem;
    border: 1px solid #ccc;
    background-color: #eef5ff;
    box-sizing: border-box;
}

/* Nur oben abrunden für erstes Feld */
.input-icon:first-child input {
    border-radius: 8px 8px 0 0;
    border-bottom: none;
}

/* Nur unten abrunden für zweites Feld */
.input-icon:last-child input {
    border-radius: 0 0 8px 8px;
}

/* Das Symbol */
.input-icon .icon {
    position: absolute;
    left: 0.8rem;
    top: 56%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: #555;
}

/* Lücke zwischen Feldern vermeiden */
.input-icon + .input-icon {
    margin-top: -10px;
}

.menu_header {
    background-color: #8B2E5D;
    color: white;
    padding: 10px;
    text-align: center;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 65px;
}

.wawicontent {
    margin-top: -320px;
    padding: 10px;
    width: 100%;
    height: 100%;
    user-select: text;
    -webkit-user-select: text !important;
}

/* ========================================
   Quickorder Styles
   ======================================== */

body {
    font-family: sans-serif;
    /*margin: 2rem;*/
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.help-icon {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    color: #007BFF;
    background: #f0f4ff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    text-align: center;
    line-height: 28px;
    box-shadow: 0 0 4px rgba(0,0,0,0.1);
    transition: background 0.2s;
}

.help-icon:hover {
    background: #e0ecff;
}

hr {
    margin: 1rem 0;
}

pre {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
}

/* Feld und Button gleich breit */
.input-wrapper {
    max-width: 400px;
    width: 100%;
}

.big-input,
.btn-big {
    width: 100%;
    font-size: 1.2rem;
    padding: 0.75rem 1rem;
    height: 3.2rem;
}

.btn-big {
    margin-top: 0.5rem;
}