body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    background-color: #121212;
    color: #e0e0e0;
}

.dropdown-container {
    margin: 20px;
    padding-right: 10px;
}

#date-dropdown {
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #555;
    background-color: #1e1e1e;
    color: #e0e0e0;
}

.error {
    color: #ff8888;
    text-wrap: wrap;
    padding: 10px;
}

.card-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% - 60px);
    max-width: 600px;
    let isHorizontalSwipe = false;
}

.card {
    background-color: #1e1e1e;
    border-radius: 10px;
    margin: 10px 0;
    padding: 20px;
    width: 100%;
}

.card-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
}

.card-dish {
    margin-bottom: 10px;
    font-size: 1em;
}

.dish-measure, .dish-note {
    padding-left: 10px;
    margin-bottom: 5px;
}

.dish-measure {
    font-style: italic;
    font-size: 0.9em;
    padding-top: 2px;
    color: #aaa;
}

.dish-note {
    color: #888;
    font-size: 0.8em;
}

.swipe-left {
    animation: swipe-left 0.3s forwards;
}

.swipe-right {
    animation: swipe-right 0.3s forwards;
}

@keyframes swipe-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

@keyframes swipe-right {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}

.fade-out {
    animation: fade-out 0.3s forwards;
}

@keyframes fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
