/* ==========================================================================
   Finales Custom CSS für die Listmonk Anmeldeseite von foodsharing
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@700&family=Source+Sans+Pro:wght@400;700&display=swap');

/* --- 1. Allgemeines & Seitenhintergrund --- */
body {
    background-color: #f2f8e5; /* Zartes foodsharing-Grün als Hintergrund */
    font-family: 'Source Sans Pro', Arial, sans-serif;
    color: #333333;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}

/* --- 1a. Listmonk Logo durch foodsharing Logo ersetzen --- */
.logo a {
    background-image: url('https://listmonk.foodsharing.network/uploads/Logo.png');
    /* NEU: LOGO DOPPELT SO GROSS */
    width: 600px;  /* Verdoppelt von 300px */
    height: 120px; /* Verdoppelt von 60px */
    max-width: 90%; /* Stellt sicher, dass es auf kleinen Bildschirmen nicht überläuft */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center; /* Zentriert das Logo */
    display: block;
    text-indent: -9999px;
    margin: 0 auto 30px auto; /* Zentriert und gibt mehr Abstand nach unten */
}

.logo a img {
    display: none;
}

/* --- 2. Haupt-Container (die "Karte") --- */
.container {
    max-width: 500px;
    margin: 40px auto;
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    /* ÄNDERUNG: Rahmen auf 5px geändert */
    border: 5px solid #9ac92a;
}

/* --- 3. Typografie (Überschriften & Texte) --- */
.title {
    font-family: 'Quicksand', Arial, sans-serif;
    font-weight: 700;
    font-size: 28px;
    text-align: center;
    color: #333333;
    margin-bottom: 15px;
}

p {
    text-align: center;
    margin-bottom: 25px;
    color: #555555;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
    text-align: left;
}

/* --- 4. Formular-Elemente --- */
.form-block {
    margin-bottom: 20px;
}

input[type="email"],
input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

input[type="email"]:focus,
input[type="text"]:focus {
    outline: none;
    border-color: #9ac92a;
    box-shadow: 0 0 5px rgba(154, 201, 42, 0.5);
}

/* --- 5. Checkboxen für Listen --- */
.lists .list {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: background-color 0.3s ease;
}

.lists .list:hover {
    background-color: #f8f8f8;
}

.lists .list input[type="checkbox"] {
    margin-right: 10px;
    height: 18px;
    width: 18px;
}

.lists .list label {
    margin-bottom: 0;
    font-weight: normal;
}


/* --- 6. Der Anmelde-Button --- */
.button {
    display: block;
    width: 100%;
    background-color: #9ac92a;
    color: #ffffff;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-family: 'Source Sans Pro', Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.button:hover {
    background-color: #799e21;
}

/* --- 7. Footer ("Powered by...") ausblenden --- */
.footer, p.footer, div.footer {
    display: none !important;
    visibility: hidden !important;
}

/* --- 8. Mobile Optimierung --- */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    .container {
        padding: 20px;
        margin: 10px auto;
    }
    .title {
        font-size: 24px;
    }
    .logo a {
        width: 80%;
        height: 60px; /* Höhe für mobile Ansicht angepasst */
    }
}