<style>
    /* Seat color classes */
    .seats-white { color: white; background-color: green;}
    .seats-green { color: black; background-color: #0fff0f;}
    .seats-yellow { color: black; background-color: yellow;}
    .seats-red { color: white; background-color: red;}
    .seats-black { color: black; background-color: white;}

    /* Pill-shaped seat container */
    .seat-pill {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 4px 12px;
        border-radius: 9999px;
        border: 2px solid black;
        font-size: 0.875rem;
        margin-top: 8px;
    }

    /* Card entrance animation */
    @keyframes slideIn {
        0% {
            opacity: 0;
            transform: translateY(20px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .course-card {
        animation: slideIn 0.3s ease-out forwards;
    }

    /* Delay animation for each card */
    .course-card:nth-child(1) { animation-delay: 0s; }
    .course-card:nth-child(2) { animation-delay: 0.1s; }
    .course-card:nth-child(3) { animation-delay: 0.2s; }
    .course-card:nth-child(4) { animation-delay: 0.3s; }
    .course-card:nth-child(5) { animation-delay: 0.4s; }
    .course-card:nth-child(6) { animation-delay: 0.5s; }
    .course-card:nth-child(7) { animation-delay: 0.6s; }
    .course-card:nth-child(8) { animation-delay: 0.7s; }
    .course-card:nth-child(9) { animation-delay: 0.8s; }
    .course-card:nth-child(10) { animation-delay: 0.9s; }
    .course-card:nth-child(11) { animation-delay: 1.0s; }
    .course-card:nth-child(12) { animation-delay: 1.1s; }

/* Cart overlay styles */
#cart {
    max-width: 300px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background-color: #f3f4f6; /* Light gray for light mode */
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

.cart-item:hover {
    transform: translateY(-2px);
}

.dark .cart-item {
    background-color: #374151; /* Dark gray for dark mode */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cart-remove {
    cursor: pointer;
    color: #ef4444; /* Red-500 */
    font-size: 1rem;
    line-height: 1;
    transition: color 0.2s ease-in-out;
}

.cart-remove:hover {
    color: #dc2626; /* Red-600 */
}

#clear-cart {
    font-size: 1.25rem;
}

button:disabled, button[disabled] {
    background-color: #d1d5db; /* Gray-300 for light mode */
    color: #6b7280; /* Gray-500 for text */
    cursor: not-allowed;
    opacity: 0.6;
}

.dark button:disabled, .dark button[disabled] {
    background-color: #4b5563; /* Gray-600 for dark mode */
    color: #9ca3af; /* Gray-400 for text */
}
