body {
    font-family: 'appFont', sans-serif;
    background-color: #EDF4F4;
    margin: 0;
    padding: 0;
    font-size: 16px; /* Neu: Standard-Text überall etwas größer */
}

.container {
    max-width: 800px;
    margin: 20px auto 50px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 20px; /* Abstand nach oben */
    padding-bottom: 10px; /* Abstand nach unten */
    font-size: 14px;
    font-family: 'appFont', sans-serif;
}


.logo {
    height: 40px; /* Höhe des Logos */
    width: auto; /* Breite automatisch */
    object-fit: contain;
}


.input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

#latestEntry {
    font-family: 'appFont', sans-serif;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 400px;
    line-height: 1; /* <-- Neu: gleiche Text-Höhe wie im Button */
    padding-bottom: 8px; /* <-- Neu: kleiner optischer Feinausgleich */
}


input {
    font-family: 'appFont', sans-serif;
    width: calc(100% - 30px);
    padding: 10px;
    margin-right: 10px;
    font-size: 16px;
}

button {
    font-family: 'appFont', sans-serif;
    font-weight: bold;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 25px;
    color: white;
    background-color: #b50000;
    border: none;
}

ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

li {
    padding: 10px;
    background: #e0e0e0;
    margin-bottom: 10px;
    border-radius: 5px;
}

.entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #e0e0e0;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
}

.entry-text {
    flex: 1;
}

.vote-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vote-count {
    font-weight: bold;
    font-size: 18px;
}

.vote-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.vote-icon:hover {
    transform: scale(1.2);
}

.entry {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.7s ease, transform 0.7s ease, color 0.7s ease, background-color 0.7s ease;
}

.entry.fade-out {
  opacity: 0;
  transform: scale(0.95);
}

.entry.instant-hide {
  opacity: 0;
  transform: scale(0.95);
  transition: none;
}

.entry.fade-in {
  opacity: 1;
  transform: scale(1);
}

/* Responsive Anpassung */
@media (max-width: 600px) {
    .header {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        font-size: 16px;
    }

    .logo {
        height: 20px;
    }

    h1 {
        font-size: 20px;
        padding: 0 10px;
    }

    input {
        font-size: 16px;
        padding: 12px;
    }

    button {
        font-size: 18px;
        padding: 14px 24px;
    }

    #latestEntry {
        font-size: 16px;
        max-width: 100%;
    }

    li, .entry {
        font-size: 16px;
        padding: 12px;
    }

    .vote-count {
        font-size: 20px;
    }

    .vote-icon {
        width: 28px;
        height: 28px;
    }

    .container {
        margin: 10px;
        padding: 15px;
    }
}
