
body {
    background-color: #e8e1d7;
    color: #3a352f;
    margin: 0px;
    padding: 10px;
}



/* 3. ICONS (User & Warenkorb) */
#login_nav_btn {
    text-decoration: none;   
    color: inherit;          
}

.cart {
    position: relative;
    font-size: 28px;
    cursor: pointer;
}

.cart i {
    color: #333;
}

.cart-count {
    position: absolute;
    top: -6px;          
    right: -10px;      
    background: rgb(215, 86, 86);
    color: white;
    font-size: 14px;
    min-width: 18px;    
    height: 18px;
    padding: 0 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 18px;  
    text-align: center;
}


.Warenkorb {
    display: none;
    position: fixed;
    right: 20px;
    top: 80px;
    border-radius: 20px;
    background: #d8cfc3;
    border: 1px solid #000;
    padding: 20px;
    z-index: 1000;
    width: 300px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(236, 88, 88, 0.1);
}

.wk-Entfernen {
    margin-top: 15px;
    font-weight: bold;
    font-size: 1.1em;
    text-align: right;
}

.wk-item {
    border-bottom: 1px solid #eee;
    padding: 10px ;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wk-name {
    display: block;
}

.wk-details {
    font-size: 0.9em;
    color: #666;
}

.wk-delete-btn {
    color: red;
    border: none;
    background: none;
    cursor: pointer;
    margin-left: 10px;
    font-weight: bold;
}

.wk-delete-btn:hover {
    transform: scale(1.2);
}


/* 4. LOGIN SEKTION (Zentrierung hinzugefügt) */
.login-section {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Berechnet die Höhe: 100% Bildschirm minus Header */
    min-height: calc(100vh - 150px); 
    padding: 40px 20px;
}

.login-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 450px;
    text-align: center;
}
#form-title{
margin-right: 40px;
}
@media (max-width: 768px) {
    .login-container {
        max-width: 50%; 
        padding: 25px 20px; 
        border-radius: 10px; 
    }

    #form-title {
        margin-right: 0; 
        font-size: 1.5rem; 
    }
}


.login-header h2 {
    color: #3a352f;
    font-size: 2rem;
    margin-bottom: 10px;
}

.login-form {
    text-align: left;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group label {
    display: flex;
    align-items: center;
    color: #3a352f;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group label i {
    margin-right: 8px;
    color: #a8894a;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #a8894a;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.forgot-password {
    color: #a8894a;
    text-decoration: none;
}

.login-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #a8894a, #8b7341);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.signup-link {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 20px;
}

.signup-link a {
    color: #a8894a;
    text-decoration: none;
    font-weight: 500;
}


.error-msg {
    color: red;
    font-size: 0.85rem;
    margin-top: 4px;
    display: block;
}
input.invalid {
    border-color: red;
}

#custom-toast {
        position: fixed;
        top: 20px;
        right: 20px;
        background: #3a352f; /* Dein dunkles Design */
        color: #e8e1d7;
        padding: 16px 24px;
        border-radius: 8px;
        z-index: 10000;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        border-left: 5px solid #a8894a; /* Goldener Akzent */
}
.toast-hidden {
        opacity: 0;
        transform: translateX(100px);
        pointer-events: none;
}
.toast-visible {
        opacity: 1;
        transform: translateX(0);
}
.toast-content i {
        margin-right: 10px;
        color: #a8894a;
}


