.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.category-content {
    display: none;
}

.category-content.active {
    display: block;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 8px;
    transition: background-color 0.3s;
    text-decoration: none;
    color: white;
    border: none;
    cursor: pointer;
}

.action-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.spicy-level {
    display: flex;
    gap: 4px;
    align-items: center;
}

.spicy-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #e5e7eb;
}

.spicy-dot.active {
    background-color: #ef4444;
}

.menu-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.menu-item:hover {
    background-color: #f9fafb;
}

.category-header {
    background: linear-gradient(to right, #ff6060, #da0a0a);
    color: white;
    padding: 16px;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
}

.category-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 16px;
}

.popular-badge {
    background-color: #eab308;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 640px) {
    .modal-content {
        margin: 20px;
        max-width: calc(100% - 40px);
    }
    
    .action-btn {
        padding: 6px 12px;
        font-size: 14px;
    }
}