body {
    font-family: sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h1 {
    color: #d82227;
}

.input-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

#doordash-url, #auth-cookie {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
}

#fetch-button {
    padding: 10px 20px;
    background-color: #d82227;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    align-self: flex-start;
}

#fetch-button:hover {
    background-color: #b51a1f;
}

.hidden {
    display: none;
}

#loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #d82227;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

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

#error-message {
    color: #d82227;
    background-color: #fdd;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

#order-summary, #cart-items {
    margin-bottom: 20px;
}

.item-card {
    display: flex;
    border: 1px solid #eee;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 4px;
}

.item-details p {
    margin: 0 0 5px 0;
}
